diff options
Diffstat (limited to 'arch/powerpc/platforms/82xx/pq2fads.c')
-rw-r--r-- | arch/powerpc/platforms/82xx/pq2fads.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/82xx/pq2fads.c b/arch/powerpc/platforms/82xx/pq2fads.c index 1be500501806..68196e349994 100644 --- a/arch/powerpc/platforms/82xx/pq2fads.c +++ b/arch/powerpc/platforms/82xx/pq2fads.c | |||
@@ -176,14 +176,11 @@ static struct of_device_id __initdata of_bus_ids[] = { | |||
176 | 176 | ||
177 | static int __init declare_of_platform_devices(void) | 177 | static int __init declare_of_platform_devices(void) |
178 | { | 178 | { |
179 | if (!machine_is(pq2fads)) | ||
180 | return 0; | ||
181 | |||
182 | /* Publish the QE devices */ | 179 | /* Publish the QE devices */ |
183 | of_platform_bus_probe(NULL, of_bus_ids, NULL); | 180 | of_platform_bus_probe(NULL, of_bus_ids, NULL); |
184 | return 0; | 181 | return 0; |
185 | } | 182 | } |
186 | device_initcall(declare_of_platform_devices); | 183 | machine_device_initcall(pq2fads, declare_of_platform_devices); |
187 | 184 | ||
188 | define_machine(pq2fads) | 185 | define_machine(pq2fads) |
189 | { | 186 | { |