[SPARC]: Export x_bus_type to modules.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sun, 25 Jun 2006 08:21:38 +0000 (01:21 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 26 Jun 2006 06:14:59 +0000 (23:14 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/of_device.c
arch/sparc64/kernel/of_device.c

index 001b867..80a8094 100644 (file)
@@ -138,6 +138,7 @@ struct bus_type ebus_bus_type = {
        .suspend        = of_device_suspend,
        .resume = of_device_resume,
 };
+EXPORT_SYMBOL(ebus_bus_type);
 #endif
 
 #ifdef CONFIG_SBUS
@@ -149,6 +150,7 @@ struct bus_type sbus_bus_type = {
        .suspend        = of_device_suspend,
        .resume = of_device_resume,
 };
+EXPORT_SYMBOL(sbus_bus_type);
 #endif
 
 static int __init of_bus_driver_init(void)
index 566aa34..768475b 100644 (file)
@@ -138,6 +138,7 @@ struct bus_type isa_bus_type = {
        .suspend        = of_device_suspend,
        .resume = of_device_resume,
 };
+EXPORT_SYMBOL(isa_bus_type);
 
 struct bus_type ebus_bus_type = {
        .name   = "ebus",
@@ -147,6 +148,7 @@ struct bus_type ebus_bus_type = {
        .suspend        = of_device_suspend,
        .resume = of_device_resume,
 };
+EXPORT_SYMBOL(ebus_bus_type);
 #endif
 
 #ifdef CONFIG_SBUS
@@ -158,6 +160,7 @@ struct bus_type sbus_bus_type = {
        .suspend        = of_device_suspend,
        .resume = of_device_resume,
 };
+EXPORT_SYMBOL(sbus_bus_type);
 #endif
 
 static int __init of_bus_driver_init(void)