diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-27 19:45:20 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-29 02:15:22 -0700 |
commit | 47a2d7288538e7f334a0be318317b138f0e3dfbe (patch) | |
tree | 81541129d0916dc521f4bbce39fd240ce879b3c5 /arch/sparc | |
parent | 046e26a8ba10b8ceff822f8d91451ab6c1e08c4e (diff) | |
download | op-kernel-dev-47a2d7288538e7f334a0be318317b138f0e3dfbe.zip op-kernel-dev-47a2d7288538e7f334a0be318317b138f0e3dfbe.tar.gz |
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.h | 1 | ||||
-rw-r--r-- | arch/sparc/kernel/of_device.c | 9 |
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 2348ab9..71ada52 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 8fdc1b3..576fa2f 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(); |