aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/apbuart.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-05-22of: Remove duplicate fields from of_platform_driverGrant Likely1-4/+4
.name, .match_table and .owner are duplicated in both of_platform_driver and device_driver. This patch is a removes the extra copies from struct of_platform_driver and converts all users to the device_driver members. This patch is a pretty mechanical change. The usage model doesn't change and if any drivers have been missed, or if anything has been fixed up incorrectly, then it will fail with a compile time error, and the fixup will be trivial. This patch looks big and scary because it touches so many files, but it should be pretty safe. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Sean MacLennan <smaclennan@pikatech.com>
2010-05-18of: Always use 'struct device.of_node' to get device node pointer.Grant Likely1-1/+1
The following structure elements duplicate the information in 'struct device.of_node' and so are being eliminated. This patch makes all readers of these elements use device.of_node instead. (struct of_device *)->node (struct dev_archdata *)->prom_node (sparc) (struct dev_archdata *)->of_node (powerpc & microblaze) Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2009-11-13apbuart: Use of_find_node_by_path to find root node.Kristoffer Glembo1-1/+1
Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-06apbuart: Fix build and missing driver unregister.David S. Miller1-3/+3
linux/of_platform.h needs to be included OF driver needs to be unregistered Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-04apbuart: Kill dependency on deprecated Sparc-only PROM interfaces.David S. Miller1-6/+6
Use the proper modern OF ones instead. Noticed by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-04apbuart: Fix build warning.David S. Miller1-2/+2
drivers/serial/apbuart.c: In function ‘apbuart_probe’: drivers/serial/apbuart.c:574: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘resource_size_t’ Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-04sparc: Support for GRLIB APBUART serial portKristoffer Glembo1-0/+710
This patch adds support for the APBUART serial port from Aeroflex Gaisler's IP library GRLIB. It is currently used in all LEON3 designs (SPARC V8) but can be used on other platforms as well (which support OF). Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com> Signed-off-by: David S. Miller <davem@davemloft.net>