]> 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 166c1116b1ac9e37a98a3df82d4c4b7afcd46fe2..cfd05487f26e86833055f50b03441a342858583e 100644 (file)
 
 #include "mpc83xx.h"
 
-#ifndef CONFIG_PCI
-unsigned long isa_io_base = 0;
-unsigned long isa_mem_base = 0;
-#endif
-
 /* ************************************************************************
  *
  * Setup the architecture
@@ -55,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)
 {