Skip to contentSkip to conversation

: sparc: Kill sbus_bus_type.

PATCH In review David Miller 1 participant 1 message Aug 28, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 45/49 : sparc: Kill sbus_bus_type.

sparc: Kill sbus_bus_type.

No longer used.

---
 arch/sparc/include/asm/of_platform.h |    1 -
 arch/sparc/kernel/of_device.c        |    9 ---------
 arch/sparc64/kernel/of_device.c      |    9 ---------
 3 files changed, 0 insertions(+), 19 deletions(-)
arch/sparc/include/asm/of_platform.h +0 -1
index 2348ab9..71ada52 100644
@@ -14,7 +14,6 @@
  */
 
 extern struct bus_type ebus_bus_type;
-extern struct bus_type sbus_bus_type;
 
 #define of_bus_type	of_platform_bus_type	/* for compatibility */
 
arch/sparc/kernel/of_device.c +0 -9
index 8fdc1b3..576fa2f 100644
@@ -67,11 +67,6 @@ struct bus_type ebus_bus_type;
 EXPORT_SYMBOL(ebus_bus_type);
 #endif
 
-#ifdef CONFIG_SBUS
-struct bus_type sbus_bus_type;
-EXPORT_SYMBOL(sbus_bus_type);
-#endif
-
 struct bus_type of_platform_bus_type;
 EXPORT_SYMBOL(of_platform_bus_type);
 
@@ -593,10 +588,6 @@ static int __init of_bus_driver_init(void)
 	if (!err)
 		err = of_bus_type_init(&ebus_bus_type, "ebus");
 #endif
-#ifdef CONFIG_SBUS
-	if (!err)
-		err = of_bus_type_init(&sbus_bus_type, "sbus");
-#endif
 
 	if (!err)
 		scan_of_devices();
arch/sparc64/kernel/of_device.c +0 -9
index b22475f..6ae9253 100644
@@ -93,11 +93,6 @@ struct bus_type ebus_bus_type;
 EXPORT_SYMBOL(ebus_bus_type);
 #endif
 
-#ifdef CONFIG_SBUS
-struct bus_type sbus_bus_type;
-EXPORT_SYMBOL(sbus_bus_type);
-#endif
-
 struct bus_type of_platform_bus_type;
 EXPORT_SYMBOL(of_platform_bus_type);
 
@@ -874,10 +869,6 @@ static int __init of_bus_driver_init(void)
 	if (!err)
 		err = of_bus_type_init(&ebus_bus_type, "ebus");
 #endif
-#ifdef CONFIG_SBUS
-	if (!err)
-		err = of_bus_type_init(&sbus_bus_type, "sbus");
-#endif
 
 	if (!err)
 		scan_of_devices();
Signature · 1 line
1.5.6.5.GIT