diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2011-03-23 12:16:02 +0300 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-03-23 12:15:59 +0300 |
commit | 3bda058b0c39fc72188116d2fd71af08dd0fe5b0 (patch) | |
tree | 94d2cb60f495ebb6b14b40ad9e23feb9ba001ce9 /drivers/s390/char/raw3270.c | |
parent | 9a26513eb67ec4b2cb1744834076afad21b68aac (diff) | |
download | linux-3bda058b0c39fc72188116d2fd71af08dd0fe5b0.tar.xz |
[S390] ccw_driver: remove duplicate members
Remove the owner and name members of struct
ccw_driver and convert all drivers to store
this data in the embedded struct device_driver.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/raw3270.c')
-rw-r--r-- | drivers/s390/char/raw3270.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/s390/char/raw3270.c b/drivers/s390/char/raw3270.c index 96ba2fd1c8ad..4c023761946f 100644 --- a/drivers/s390/char/raw3270.c +++ b/drivers/s390/char/raw3270.c @@ -1388,8 +1388,10 @@ static struct ccw_device_id raw3270_id[] = { }; static struct ccw_driver raw3270_ccw_driver = { - .name = "3270", - .owner = THIS_MODULE, + .driver = { + .name = "3270", + .owner = THIS_MODULE, + }, .ids = raw3270_id, .probe = &raw3270_probe, .remove = &raw3270_remove, |