powerpc/85xx: consolidate of_platform_bus_probe calls
[deliverable/linux.git] / arch / powerpc / platforms / 85xx / mpc8536_ds.c
index 6a4b2c1372f4adb4029964ed8b7904f48bc601a3..9ee6455c2f1e64bf9c5090c12e72a23e8d676299 100644 (file)
@@ -106,19 +106,7 @@ static void __init mpc8536_ds_setup_arch(void)
        printk("MPC8536 DS board from Freescale Semiconductor\n");
 }
 
-static struct of_device_id __initdata mpc8536_ds_ids[] = {
-       { .type = "soc", },
-       { .compatible = "soc", },
-       { .compatible = "simple-bus", },
-       { .compatible = "gianfar", },
-       {},
-};
-
-static int __init mpc8536_ds_publish_devices(void)
-{
-       return of_platform_bus_probe(NULL, mpc8536_ds_ids, NULL);
-}
-machine_device_initcall(mpc8536_ds, mpc8536_ds_publish_devices);
+machine_device_initcall(mpc8536_ds, mpc85xx_common_publish_devices);
 
 machine_arch_initcall(mpc8536_ds, swiotlb_setup_bus_notifier);
 
This page took 0.02664 seconds and 5 git commands to generate.