diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2007-10-12 10:11:23 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-10-12 10:13:01 -0400 |
commit | e103178658f07131fee4e643596982b604cc63a9 (patch) | |
tree | 57401b9e427bfffe2c97844e62d2db7366d2398e /drivers/s390 | |
parent | 1842f2b1847155805f9cc8c834ef4272198b272b (diff) |
[S390] cio: Fix device attributes for early devices.
Don't forget to set dev->groups for early ccw devices like the
console device so the default attributes are created.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/cio/device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c index eea9b1de0af7..c96380db0136 100644 --- a/drivers/s390/cio/device.c +++ b/drivers/s390/cio/device.c | |||
@@ -1123,6 +1123,7 @@ io_subchannel_probe (struct subchannel *sch) | |||
1123 | * device, e.g. the console. | 1123 | * device, e.g. the console. |
1124 | */ | 1124 | */ |
1125 | cdev = sch->dev.driver_data; | 1125 | cdev = sch->dev.driver_data; |
1126 | cdev->dev.groups = ccwdev_attr_groups; | ||
1126 | device_initialize(&cdev->dev); | 1127 | device_initialize(&cdev->dev); |
1127 | ccw_device_register(cdev); | 1128 | ccw_device_register(cdev); |
1128 | /* | 1129 | /* |