mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
[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:
1 parent
1842f2b184
commit
e103178658
1 file changed
+1
@@ -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);
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user