Commit 69853918 authored by David S. Miller's avatar David S. Miller

[SPARC]: Export x_bus_type to modules.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 95b0ce9d
...@@ -138,6 +138,7 @@ struct bus_type ebus_bus_type = { ...@@ -138,6 +138,7 @@ struct bus_type ebus_bus_type = {
.suspend = of_device_suspend, .suspend = of_device_suspend,
.resume = of_device_resume, .resume = of_device_resume,
}; };
EXPORT_SYMBOL(ebus_bus_type);
#endif #endif
#ifdef CONFIG_SBUS #ifdef CONFIG_SBUS
...@@ -149,6 +150,7 @@ struct bus_type sbus_bus_type = { ...@@ -149,6 +150,7 @@ struct bus_type sbus_bus_type = {
.suspend = of_device_suspend, .suspend = of_device_suspend,
.resume = of_device_resume, .resume = of_device_resume,
}; };
EXPORT_SYMBOL(sbus_bus_type);
#endif #endif
static int __init of_bus_driver_init(void) static int __init of_bus_driver_init(void)
......
...@@ -138,6 +138,7 @@ struct bus_type isa_bus_type = { ...@@ -138,6 +138,7 @@ struct bus_type isa_bus_type = {
.suspend = of_device_suspend, .suspend = of_device_suspend,
.resume = of_device_resume, .resume = of_device_resume,
}; };
EXPORT_SYMBOL(isa_bus_type);
struct bus_type ebus_bus_type = { struct bus_type ebus_bus_type = {
.name = "ebus", .name = "ebus",
...@@ -147,6 +148,7 @@ struct bus_type ebus_bus_type = { ...@@ -147,6 +148,7 @@ struct bus_type ebus_bus_type = {
.suspend = of_device_suspend, .suspend = of_device_suspend,
.resume = of_device_resume, .resume = of_device_resume,
}; };
EXPORT_SYMBOL(ebus_bus_type);
#endif #endif
#ifdef CONFIG_SBUS #ifdef CONFIG_SBUS
...@@ -158,6 +160,7 @@ struct bus_type sbus_bus_type = { ...@@ -158,6 +160,7 @@ struct bus_type sbus_bus_type = {
.suspend = of_device_suspend, .suspend = of_device_suspend,
.resume = of_device_resume, .resume = of_device_resume,
}; };
EXPORT_SYMBOL(sbus_bus_type);
#endif #endif
static int __init of_bus_driver_init(void) static int __init of_bus_driver_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment