]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/powerpc/platforms/83xx/mpc837x_mds.c
[POWERPC] 83xx: convert boards to use machine_device_initcall
[mv-sheeva.git] / arch / powerpc / platforms / 83xx / mpc837x_mds.c
index 9cdc32b4fa18e291b7f0d0cdbb75314d74177b18..cfd05487f26e86833055f50b03441a342858583e 100644 (file)
@@ -50,15 +50,12 @@ static struct of_device_id mpc837x_ids[] = {
 
 static int __init mpc837x_declare_of_platform_devices(void)
 {
-       if (!machine_is(mpc837x_mds))
-               return 0;
-
        /* Publish of_device */
        of_platform_bus_probe(NULL, mpc837x_ids, NULL);
 
        return 0;
 }
-device_initcall(mpc837x_declare_of_platform_devices);
+machine_device_initcall(mpc837x_mds, mpc837x_declare_of_platform_devices);
 
 static void __init mpc837x_mds_init_IRQ(void)
 {