diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2008-01-25 00:23:24 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-28 09:30:41 -0500 |
commit | ca956f0ea8baa6365b5e39d16373f430e12a030d (patch) | |
tree | b5fece898f5fe79d88457cc71fda492f85d4f9b9 /arch/powerpc/platforms/embedded6xx | |
parent | b61ad6532b243dd82d658d6370abb6f481ddd25e (diff) |
[POWERPC] 82xx and embedded6xx: Use machine_*_initcall() hooks in platform code
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/embedded6xx')
-rw-r--r-- | arch/powerpc/platforms/embedded6xx/ls_uart.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/embedded6xx/ls_uart.c b/arch/powerpc/platforms/embedded6xx/ls_uart.c index c99264cedda5..9d891bd5df5a 100644 --- a/arch/powerpc/platforms/embedded6xx/ls_uart.c +++ b/arch/powerpc/platforms/embedded6xx/ls_uart.c | |||
@@ -117,9 +117,6 @@ static int __init ls_uarts_init(void) | |||
117 | phys_addr_t phys_addr; | 117 | phys_addr_t phys_addr; |
118 | int len; | 118 | int len; |
119 | 119 | ||
120 | if (!machine_is(linkstation)) | ||
121 | return 0; | ||
122 | |||
123 | avr = of_find_node_by_path("/soc10x/serial@80004500"); | 120 | avr = of_find_node_by_path("/soc10x/serial@80004500"); |
124 | if (!avr) | 121 | if (!avr) |
125 | return -EINVAL; | 122 | return -EINVAL; |
@@ -142,4 +139,4 @@ static int __init ls_uarts_init(void) | |||
142 | return 0; | 139 | return 0; |
143 | } | 140 | } |
144 | 141 | ||
145 | late_initcall(ls_uarts_init); | 142 | machine_late_initcall(linkstation, ls_uarts_init); |