diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2011-03-15 12:08:31 -0400 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-03-15 12:08:24 -0400 |
commit | 3041b6ab5f36ac303981e9f170ff2ae43dc9d125 (patch) | |
tree | 0a1215050b2c9f082c1928e9ef96eb2e7175558e /drivers/s390/cio/css.c | |
parent | e6aed122a9185d0fe5890f02ea8efc32c355bc44 (diff) |
[S390] css_bus_type: make it static
Make css_bus_type static. Subchannel drivers have to
use css_driver_register.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/css.c')
-rw-r--r-- | drivers/s390/cio/css.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index 51eaed0d7662..c47b25fd3f43 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c | |||
@@ -35,6 +35,7 @@ int css_init_done = 0; | |||
35 | int max_ssid; | 35 | int max_ssid; |
36 | 36 | ||
37 | struct channel_subsystem *channel_subsystems[__MAX_CSSID + 1]; | 37 | struct channel_subsystem *channel_subsystems[__MAX_CSSID + 1]; |
38 | static struct bus_type css_bus_type; | ||
38 | 39 | ||
39 | int | 40 | int |
40 | for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *data) | 41 | for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *data) |
@@ -1214,7 +1215,7 @@ static const struct dev_pm_ops css_pm_ops = { | |||
1214 | .restore = css_pm_restore, | 1215 | .restore = css_pm_restore, |
1215 | }; | 1216 | }; |
1216 | 1217 | ||
1217 | struct bus_type css_bus_type = { | 1218 | static struct bus_type css_bus_type = { |
1218 | .name = "css", | 1219 | .name = "css", |
1219 | .match = css_bus_match, | 1220 | .match = css_bus_match, |
1220 | .probe = css_probe, | 1221 | .probe = css_probe, |
@@ -1251,4 +1252,3 @@ void css_driver_unregister(struct css_driver *cdrv) | |||
1251 | EXPORT_SYMBOL_GPL(css_driver_unregister); | 1252 | EXPORT_SYMBOL_GPL(css_driver_unregister); |
1252 | 1253 | ||
1253 | MODULE_LICENSE("GPL"); | 1254 | MODULE_LICENSE("GPL"); |
1254 | EXPORT_SYMBOL(css_bus_type); | ||