aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/css.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2008-01-26 08:10:47 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-01-26 08:11:02 -0500
commit4beee64685e116b01c47655daf6d88df87e053c8 (patch)
treec19fe3802024a02f01163eeb2f8f731517615a08 /drivers/s390/cio/css.c
parentdb6a64238a927777e6e7b251927313f186455b1c (diff)
[S390] cio: Set driver->owner on css, ccw and ccwgroup busses.
Set the owner field in the embedded struct device_driver to the value provided in the {css,ccw,ccwgroup}_driver. Signed-off-by: Cornelia Huck <cornelia.huck@de.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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c
index 4d98a0fddedf..69d56c7284d1 100644
--- a/drivers/s390/cio/css.c
+++ b/drivers/s390/cio/css.c
@@ -862,6 +862,7 @@ int css_driver_register(struct css_driver *cdrv)
862{ 862{
863 cdrv->drv.name = cdrv->name; 863 cdrv->drv.name = cdrv->name;
864 cdrv->drv.bus = &css_bus_type; 864 cdrv->drv.bus = &css_bus_type;
865 cdrv->drv.owner = cdrv->owner;
865 return driver_register(&cdrv->drv); 866 return driver_register(&cdrv->drv);
866} 867}
867EXPORT_SYMBOL_GPL(css_driver_register); 868EXPORT_SYMBOL_GPL(css_driver_register);