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.h | |
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.h')
-rw-r--r-- | drivers/s390/cio/css.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h index 566dc1ac425e..80ebdddf7747 100644 --- a/drivers/s390/cio/css.h +++ b/drivers/s390/cio/css.h | |||
@@ -97,11 +97,6 @@ struct css_driver { | |||
97 | 97 | ||
98 | #define to_cssdriver(n) container_of(n, struct css_driver, drv) | 98 | #define to_cssdriver(n) container_of(n, struct css_driver, drv) |
99 | 99 | ||
100 | /* | ||
101 | * all css_drivers have the css_bus_type | ||
102 | */ | ||
103 | extern struct bus_type css_bus_type; | ||
104 | |||
105 | extern int css_driver_register(struct css_driver *); | 100 | extern int css_driver_register(struct css_driver *); |
106 | extern void css_driver_unregister(struct css_driver *); | 101 | extern void css_driver_unregister(struct css_driver *); |
107 | 102 | ||
@@ -136,7 +131,6 @@ struct channel_subsystem { | |||
136 | }; | 131 | }; |
137 | #define to_css(dev) container_of(dev, struct channel_subsystem, device) | 132 | #define to_css(dev) container_of(dev, struct channel_subsystem, device) |
138 | 133 | ||
139 | extern struct bus_type css_bus_type; | ||
140 | extern struct channel_subsystem *channel_subsystems[]; | 134 | extern struct channel_subsystem *channel_subsystems[]; |
141 | 135 | ||
142 | /* Helper functions to build lists for the slow path. */ | 136 | /* Helper functions to build lists for the slow path. */ |