Commit e0ac612e authored by David S. Miller's avatar David S. Miller

sparc: Kill ebus_bus_type.

No longer used.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 356d1647
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
* *
*/ */
extern struct bus_type ebus_bus_type;
#define of_bus_type of_platform_bus_type /* for compatibility */ #define of_bus_type of_platform_bus_type /* for compatibility */
#endif #endif
...@@ -62,11 +62,6 @@ void of_propagate_archdata(struct of_device *bus) ...@@ -62,11 +62,6 @@ void of_propagate_archdata(struct of_device *bus)
} }
} }
#ifdef CONFIG_PCI
struct bus_type ebus_bus_type;
EXPORT_SYMBOL(ebus_bus_type);
#endif
struct bus_type of_platform_bus_type; struct bus_type of_platform_bus_type;
EXPORT_SYMBOL(of_platform_bus_type); EXPORT_SYMBOL(of_platform_bus_type);
...@@ -584,11 +579,6 @@ static int __init of_bus_driver_init(void) ...@@ -584,11 +579,6 @@ static int __init of_bus_driver_init(void)
int err; int err;
err = of_bus_type_init(&of_platform_bus_type, "of"); 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) if (!err)
scan_of_devices(); scan_of_devices();
......
...@@ -88,11 +88,6 @@ void of_propagate_archdata(struct of_device *bus) ...@@ -88,11 +88,6 @@ void of_propagate_archdata(struct of_device *bus)
} }
} }
#ifdef CONFIG_PCI
struct bus_type ebus_bus_type;
EXPORT_SYMBOL(ebus_bus_type);
#endif
struct bus_type of_platform_bus_type; struct bus_type of_platform_bus_type;
EXPORT_SYMBOL(of_platform_bus_type); EXPORT_SYMBOL(of_platform_bus_type);
...@@ -865,11 +860,6 @@ static int __init of_bus_driver_init(void) ...@@ -865,11 +860,6 @@ static int __init of_bus_driver_init(void)
int err; int err;
err = of_bus_type_init(&of_platform_bus_type, "of"); 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) if (!err)
scan_of_devices(); scan_of_devices();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment