No longer used.
Signed-off-by: David S. Miller <davem@davemloft.net>
*
*/
-extern struct bus_type ebus_bus_type;
-
#define of_bus_type of_platform_bus_type /* for compatibility */
#endif
}
}
-#ifdef CONFIG_PCI
-struct bus_type ebus_bus_type;
-EXPORT_SYMBOL(ebus_bus_type);
-#endif
-
struct bus_type of_platform_bus_type;
EXPORT_SYMBOL(of_platform_bus_type);
int err;
err = of_bus_type_init(&of_platform_bus_type, "of");
-#ifdef CONFIG_PCI
- if (!err)
- err = of_bus_type_init(&ebus_bus_type, "ebus");
-#endif
-
if (!err)
scan_of_devices();
}
}
-#ifdef CONFIG_PCI
-struct bus_type ebus_bus_type;
-EXPORT_SYMBOL(ebus_bus_type);
-#endif
-
struct bus_type of_platform_bus_type;
EXPORT_SYMBOL(of_platform_bus_type);
int err;
err = of_bus_type_init(&of_platform_bus_type, "of");
-#ifdef CONFIG_PCI
- if (!err)
- err = of_bus_type_init(&ebus_bus_type, "ebus");
-#endif
-
if (!err)
scan_of_devices();