Skip to contentSkip to conversation

: sparc: Kill ebus_bus_type.

PATCH New David Miller 1 participant 1 message Aug 30, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 6/6 : sparc: Kill ebus_bus_type.

sparc: Kill ebus_bus_type.

No longer used.

---
 arch/sparc/include/asm/of_platform.h |    2 --
 arch/sparc/kernel/of_device.c        |   10 ----------
 arch/sparc64/kernel/of_device.c      |   10 ----------
 3 files changed, 0 insertions(+), 22 deletions(-)
arch/sparc/include/asm/of_platform.h +0 -2
index 71ada52..90da990 100644
@@ -13,8 +13,6 @@
  *
  */
 
-extern struct bus_type ebus_bus_type;
-
 #define of_bus_type	of_platform_bus_type	/* for compatibility */
 
 #endif
arch/sparc/kernel/of_device.c +0 -10
index 576fa2f..c590148 100644
@@ -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;
 EXPORT_SYMBOL(of_platform_bus_type);
 
@@ -584,11 +579,6 @@ static int __init of_bus_driver_init(void)
 	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();
 
arch/sparc64/kernel/of_device.c +0 -10
index 6ae9253..e427086 100644
@@ -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;
 EXPORT_SYMBOL(of_platform_bus_type);
 
@@ -865,11 +860,6 @@ static int __init of_bus_driver_init(void)
 	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();
 
Signature · 1 line
1.5.6.5.GIT