diff options
Diffstat (limited to 'arch/powerpc/platforms/44x/bamboo.c')
-rw-r--r-- | arch/powerpc/platforms/44x/bamboo.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/44x/bamboo.c b/arch/powerpc/platforms/44x/bamboo.c index d27f758d9cb2..fb9a22a7e8d0 100644 --- a/arch/powerpc/platforms/44x/bamboo.c +++ b/arch/powerpc/platforms/44x/bamboo.c | |||
@@ -34,14 +34,11 @@ static __initdata struct of_device_id bamboo_of_bus[] = { | |||
34 | 34 | ||
35 | static int __init bamboo_device_probe(void) | 35 | static int __init bamboo_device_probe(void) |
36 | { | 36 | { |
37 | if (!machine_is(bamboo)) | ||
38 | return 0; | ||
39 | |||
40 | of_platform_bus_probe(NULL, bamboo_of_bus, NULL); | 37 | of_platform_bus_probe(NULL, bamboo_of_bus, NULL); |
41 | 38 | ||
42 | return 0; | 39 | return 0; |
43 | } | 40 | } |
44 | device_initcall(bamboo_device_probe); | 41 | machine_device_initcall(bamboo, bamboo_device_probe); |
45 | 42 | ||
46 | static int __init bamboo_probe(void) | 43 | static int __init bamboo_probe(void) |
47 | { | 44 | { |