提交 47a2d728 编写于 作者: D David S. Miller

sparc: Kill sbus_bus_type.

No longer used.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 046e26a8
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
*/ */
extern struct bus_type ebus_bus_type; extern struct bus_type ebus_bus_type;
extern struct bus_type sbus_bus_type;
#define of_bus_type of_platform_bus_type /* for compatibility */ #define of_bus_type of_platform_bus_type /* for compatibility */
......
...@@ -67,11 +67,6 @@ struct bus_type ebus_bus_type; ...@@ -67,11 +67,6 @@ struct bus_type ebus_bus_type;
EXPORT_SYMBOL(ebus_bus_type); EXPORT_SYMBOL(ebus_bus_type);
#endif #endif
#ifdef CONFIG_SBUS
struct bus_type sbus_bus_type;
EXPORT_SYMBOL(sbus_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);
...@@ -593,10 +588,6 @@ static int __init of_bus_driver_init(void) ...@@ -593,10 +588,6 @@ static int __init of_bus_driver_init(void)
if (!err) if (!err)
err = of_bus_type_init(&ebus_bus_type, "ebus"); err = of_bus_type_init(&ebus_bus_type, "ebus");
#endif #endif
#ifdef CONFIG_SBUS
if (!err)
err = of_bus_type_init(&sbus_bus_type, "sbus");
#endif
if (!err) if (!err)
scan_of_devices(); scan_of_devices();
......
...@@ -93,11 +93,6 @@ struct bus_type ebus_bus_type; ...@@ -93,11 +93,6 @@ struct bus_type ebus_bus_type;
EXPORT_SYMBOL(ebus_bus_type); EXPORT_SYMBOL(ebus_bus_type);
#endif #endif
#ifdef CONFIG_SBUS
struct bus_type sbus_bus_type;
EXPORT_SYMBOL(sbus_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);
...@@ -874,10 +869,6 @@ static int __init of_bus_driver_init(void) ...@@ -874,10 +869,6 @@ static int __init of_bus_driver_init(void)
if (!err) if (!err)
err = of_bus_type_init(&ebus_bus_type, "ebus"); err = of_bus_type_init(&ebus_bus_type, "ebus");
#endif #endif
#ifdef CONFIG_SBUS
if (!err)
err = of_bus_type_init(&sbus_bus_type, "sbus");
#endif
if (!err) if (!err)
scan_of_devices(); scan_of_devices();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册