Skip to content

Commit

Permalink
sparc: Kill sbus_bus_type.
Browse files Browse the repository at this point in the history
No longer used.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Aug 29, 2008
1 parent 046e26a commit 47a2d72
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion arch/sparc/include/asm/of_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down
9 changes: 0 additions & 9 deletions arch/sparc/kernel/of_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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();
Expand Down
9 changes: 0 additions & 9 deletions arch/sparc64/kernel/of_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 47a2d72

Please sign in to comment.