aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-27 19:45:20 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-29 02:15:22 -0700
commit47a2d7288538e7f334a0be318317b138f0e3dfbe (patch)
tree81541129d0916dc521f4bbce39fd240ce879b3c5 /arch/sparc
parent046e26a8ba10b8ceff822f8d91451ab6c1e08c4e (diff)
sparc: Kill sbus_bus_type.
No longer used. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/include/asm/of_platform.h1
-rw-r--r--arch/sparc/kernel/of_device.c9
2 files changed, 0 insertions, 10 deletions
diff --git a/arch/sparc/include/asm/of_platform.h b/arch/sparc/include/asm/of_platform.h
index 2348ab90a57..71ada5238b9 100644
--- a/arch/sparc/include/asm/of_platform.h
+++ b/arch/sparc/include/asm/of_platform.h
@@ -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 */
diff --git a/arch/sparc/kernel/of_device.c b/arch/sparc/kernel/of_device.c
index 8fdc1b3113b..576fa2ffa69 100644
--- a/arch/sparc/kernel/of_device.c
+++ b/arch/sparc/kernel/of_device.c
@@ -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();