Skip to content

Commit

Permalink
sparc: Kill ebus_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 30, 2008
1 parent 356d164 commit e0ac612
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
2 changes: 0 additions & 2 deletions arch/sparc/include/asm/of_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
*
*/

extern struct bus_type ebus_bus_type;

#define of_bus_type of_platform_bus_type /* for compatibility */

#endif
10 changes: 0 additions & 10 deletions arch/sparc/kernel/of_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ void of_propagate_archdata(struct of_device *bus)
}
}

#ifdef CONFIG_PCI
struct bus_type ebus_bus_type;
EXPORT_SYMBOL(ebus_bus_type);
#endif

struct bus_type of_platform_bus_type;
EXPORT_SYMBOL(of_platform_bus_type);

Expand Down Expand Up @@ -584,11 +579,6 @@ static int __init of_bus_driver_init(void)
int err;

err = of_bus_type_init(&of_platform_bus_type, "of");
#ifdef CONFIG_PCI
if (!err)
err = of_bus_type_init(&ebus_bus_type, "ebus");
#endif

if (!err)
scan_of_devices();

Expand Down
10 changes: 0 additions & 10 deletions arch/sparc64/kernel/of_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ void of_propagate_archdata(struct of_device *bus)
}
}

#ifdef CONFIG_PCI
struct bus_type ebus_bus_type;
EXPORT_SYMBOL(ebus_bus_type);
#endif

struct bus_type of_platform_bus_type;
EXPORT_SYMBOL(of_platform_bus_type);

Expand Down Expand Up @@ -865,11 +860,6 @@ static int __init of_bus_driver_init(void)
int err;

err = of_bus_type_init(&of_platform_bus_type, "of");
#ifdef CONFIG_PCI
if (!err)
err = of_bus_type_init(&ebus_bus_type, "ebus");
#endif

if (!err)
scan_of_devices();

Expand Down

0 comments on commit e0ac612

Please sign in to comment.