diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-07-14 03:58:47 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 04:02:06 -0400 |
commit | 44a1c19e3b47a7ac596808177ccd250b95f5e688 (patch) | |
tree | 6e6979971a905d143c3bacde998a061aa088b507 /drivers/s390/cio/css.c | |
parent | c11561897ab57a3c11e0a284ba17795d580589ab (diff) |
[S390] cio: Export some symbols for modular css drivers.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/css.c')
-rw-r--r-- | drivers/s390/cio/css.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c index cf9d27c6f444..bc3a8e4a49f7 100644 --- a/drivers/s390/cio/css.c +++ b/drivers/s390/cio/css.c | |||
@@ -158,12 +158,17 @@ static int css_sch_device_register(struct subchannel *sch) | |||
158 | return ret; | 158 | return ret; |
159 | } | 159 | } |
160 | 160 | ||
161 | /** | ||
162 | * css_sch_device_unregister - unregister a subchannel | ||
163 | * @sch: subchannel to be unregistered | ||
164 | */ | ||
161 | void css_sch_device_unregister(struct subchannel *sch) | 165 | void css_sch_device_unregister(struct subchannel *sch) |
162 | { | 166 | { |
163 | mutex_lock(&sch->reg_mutex); | 167 | mutex_lock(&sch->reg_mutex); |
164 | device_unregister(&sch->dev); | 168 | device_unregister(&sch->dev); |
165 | mutex_unlock(&sch->reg_mutex); | 169 | mutex_unlock(&sch->reg_mutex); |
166 | } | 170 | } |
171 | EXPORT_SYMBOL_GPL(css_sch_device_unregister); | ||
167 | 172 | ||
168 | static void ssd_from_pmcw(struct chsc_ssd_info *ssd, struct pmcw *pmcw) | 173 | static void ssd_from_pmcw(struct chsc_ssd_info *ssd, struct pmcw *pmcw) |
169 | { | 174 | { |