diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-30 03:37:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-30 03:37:36 -0400 |
commit | e0ac612e6997429a21887475709ca6d6224971f2 (patch) | |
tree | 859cc41875cf525513568543759f344f68864351 /arch/sparc | |
parent | 356d164757310cd822d71da2027d50ec39798b7f (diff) |
sparc: Kill ebus_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 | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/of_device.c | 10 |
2 files changed, 0 insertions, 12 deletions
diff --git a/arch/sparc/include/asm/of_platform.h b/arch/sparc/include/asm/of_platform.h index 71ada5238b97..90da99059f83 100644 --- a/arch/sparc/include/asm/of_platform.h +++ b/arch/sparc/include/asm/of_platform.h | |||
@@ -13,8 +13,6 @@ | |||
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | 15 | ||
16 | extern struct bus_type ebus_bus_type; | ||
17 | |||
18 | #define of_bus_type of_platform_bus_type /* for compatibility */ | 16 | #define of_bus_type of_platform_bus_type /* for compatibility */ |
19 | 17 | ||
20 | #endif | 18 | #endif |
diff --git a/arch/sparc/kernel/of_device.c b/arch/sparc/kernel/of_device.c index 576fa2ffa69f..c59014886afe 100644 --- a/arch/sparc/kernel/of_device.c +++ b/arch/sparc/kernel/of_device.c | |||
@@ -62,11 +62,6 @@ void of_propagate_archdata(struct of_device *bus) | |||
62 | } | 62 | } |
63 | } | 63 | } |
64 | 64 | ||
65 | #ifdef CONFIG_PCI | ||
66 | struct bus_type ebus_bus_type; | ||
67 | EXPORT_SYMBOL(ebus_bus_type); | ||
68 | #endif | ||
69 | |||
70 | struct bus_type of_platform_bus_type; | 65 | struct bus_type of_platform_bus_type; |
71 | EXPORT_SYMBOL(of_platform_bus_type); | 66 | EXPORT_SYMBOL(of_platform_bus_type); |
72 | 67 | ||
@@ -584,11 +579,6 @@ static int __init of_bus_driver_init(void) | |||
584 | int err; | 579 | int err; |
585 | 580 | ||
586 | err = of_bus_type_init(&of_platform_bus_type, "of"); | 581 | err = of_bus_type_init(&of_platform_bus_type, "of"); |
587 | #ifdef CONFIG_PCI | ||
588 | if (!err) | ||
589 | err = of_bus_type_init(&ebus_bus_type, "ebus"); | ||
590 | #endif | ||
591 | |||
592 | if (!err) | 582 | if (!err) |
593 | scan_of_devices(); | 583 | scan_of_devices(); |
594 | 584 | ||