Commit Graph

5 Commits

Author SHA1 Message Date
Kristoffer Glembo 4edd5ad0f5 apbuart: Use of_find_node_by_path to find root node.
Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-13 13:25:06 -08:00
David S. Miller ddaf1b27ed apbuart: Fix build and missing driver unregister.
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-06 00:26:39 -08:00
David S. Miller d13500981e apbuart: Kill dependency on deprecated Sparc-only PROM interfaces.
Use the proper modern OF ones instead.

Noticed by Stephen Rothwell.

Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-04 23:59:18 -08:00
David S. Miller 384a17b284 apbuart: Fix build warning.
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-04 08:47:03 -08:00
Kristoffer Glembo d4ac42a582 sparc: Support for GRLIB APBUART serial port
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>
2009-11-04 08:44:54 -08:00