diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2008-01-02 14:14:36 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-01-16 22:57:15 -0500 |
commit | e25c47ffa97ca5e4602593b03ce6d21cff652864 (patch) | |
tree | 1bbd57e332fde97d5c801d881aee57aada56113e /arch/powerpc/platforms/cell/setup.c | |
parent | d518b71784c6fa4c8eafb334236883f763f8e296 (diff) |
[POWERPC] cell: Use machine_*_initcall() hooks in platform code
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/setup.c')
-rw-r--r-- | arch/powerpc/platforms/cell/setup.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/cell/setup.c b/arch/powerpc/platforms/cell/setup.c index 4f6347c9fe68..e6534b519c9a 100644 --- a/arch/powerpc/platforms/cell/setup.c +++ b/arch/powerpc/platforms/cell/setup.c | |||
@@ -85,9 +85,6 @@ static int __init cell_publish_devices(void) | |||
85 | { | 85 | { |
86 | int node; | 86 | int node; |
87 | 87 | ||
88 | if (!machine_is(cell)) | ||
89 | return 0; | ||
90 | |||
91 | /* Publish OF platform devices for southbridge IOs */ | 88 | /* Publish OF platform devices for southbridge IOs */ |
92 | of_platform_bus_probe(NULL, NULL, NULL); | 89 | of_platform_bus_probe(NULL, NULL, NULL); |
93 | 90 | ||
@@ -101,7 +98,7 @@ static int __init cell_publish_devices(void) | |||
101 | } | 98 | } |
102 | return 0; | 99 | return 0; |
103 | } | 100 | } |
104 | device_initcall(cell_publish_devices); | 101 | machine_device_initcall(cell, cell_publish_devices); |
105 | 102 | ||
106 | static void cell_mpic_cascade(unsigned int irq, struct irq_desc *desc) | 103 | static void cell_mpic_cascade(unsigned int irq, struct irq_desc *desc) |
107 | { | 104 | { |