summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/ccwgroup.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2008-01-26 14:10:47 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-01-26 14:11:02 +0100
commit4beee64685e116b01c47655daf6d88df87e053c8 (patch)
treec19fe3802024a02f01163eeb2f8f731517615a08 /drivers/s390/cio/ccwgroup.c
parentdb6a64238a927777e6e7b251927313f186455b1c (diff)
downloadop-kernel-dev-4beee64685e116b01c47655daf6d88df87e053c8.zip
op-kernel-dev-4beee64685e116b01c47655daf6d88df87e053c8.tar.gz
[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/ccwgroup.c')
-rw-r--r--drivers/s390/cio/ccwgroup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/cio/ccwgroup.c b/drivers/s390/cio/ccwgroup.c
index b9997fb..dc1c5f4 100644
--- a/drivers/s390/cio/ccwgroup.c
+++ b/drivers/s390/cio/ccwgroup.c
@@ -408,6 +408,7 @@ int ccwgroup_driver_register(struct ccwgroup_driver *cdriver)
/* register our new driver with the core */
cdriver->driver.bus = &ccwgroup_bus_type;
cdriver->driver.name = cdriver->name;
+ cdriver->driver.owner = cdriver->owner;
return driver_register(&cdriver->driver);
}
OpenPOWER on IntegriCloud