aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/44x/bamboo.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/44x/bamboo.c')
-rw-r--r--arch/powerpc/platforms/44x/bamboo.c5
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
35static int __init bamboo_device_probe(void) 35static 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}
44device_initcall(bamboo_device_probe); 41machine_device_initcall(bamboo, bamboo_device_probe);
45 42
46static int __init bamboo_probe(void) 43static int __init bamboo_probe(void)
47{ 44{