aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-30 00:37:36 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-30 00:37:36 -0700
commite0ac612e6997429a21887475709ca6d6224971f2 (patch)
tree859cc41875cf525513568543759f344f68864351 /arch
parent356d164757310cd822d71da2027d50ec39798b7f (diff)
downloadkernel_samsung_aries-e0ac612e6997429a21887475709ca6d6224971f2.zip
kernel_samsung_aries-e0ac612e6997429a21887475709ca6d6224971f2.tar.gz
kernel_samsung_aries-e0ac612e6997429a21887475709ca6d6224971f2.tar.bz2
sparc: Kill ebus_bus_type.
No longer used. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/include/asm/of_platform.h2
-rw-r--r--arch/sparc/kernel/of_device.c10
-rw-r--r--arch/sparc64/kernel/of_device.c10
3 files changed, 0 insertions, 22 deletions
diff --git a/arch/sparc/include/asm/of_platform.h b/arch/sparc/include/asm/of_platform.h
index 71ada52..90da990 100644
--- a/arch/sparc/include/asm/of_platform.h
+++ b/arch/sparc/include/asm/of_platform.h
@@ -13,8 +13,6 @@
*
*/
-extern struct bus_type ebus_bus_type;
-
#define of_bus_type of_platform_bus_type /* for compatibility */
#endif
diff --git a/arch/sparc/kernel/of_device.c b/arch/sparc/kernel/of_device.c
index 576fa2f..c590148 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)
}
}
-#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);
@@ -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();
diff --git a/arch/sparc64/kernel/of_device.c b/arch/sparc64/kernel/of_device.c
index 6ae9253..e427086 100644
--- a/arch/sparc64/kernel/of_device.c
+++ b/arch/sparc64/kernel/of_device.c
@@ -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);
@@ -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();