forked from luck/tmp_suning_uos_patched
[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>
This commit is contained in:
parent
1842f2b184
commit
e103178658
@ -1123,6 +1123,7 @@ io_subchannel_probe (struct subchannel *sch)
|
||||
* device, e.g. the console.
|
||||
*/
|
||||
cdev = sch->dev.driver_data;
|
||||
cdev->dev.groups = ccwdev_attr_groups;
|
||||
device_initialize(&cdev->dev);
|
||||
ccw_device_register(cdev);
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user