projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1842f2b
)
[S390] cio: Fix device attributes for early devices.
author
Cornelia Huck
<cornelia.huck@de.ibm.com>
Fri, 12 Oct 2007 14:11:23 +0000
(16:11 +0200)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Fri, 12 Oct 2007 14:13:01 +0000
(16:13 +0200)
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>
drivers/s390/cio/device.c
patch
|
blob
|
history
diff --git
a/drivers/s390/cio/device.c
b/drivers/s390/cio/device.c
index eea9b1de0af7c82347074d408ff545cfc780b167..c96380db0136f05e93015331793477f696c6cc19 100644
(file)
--- a/
drivers/s390/cio/device.c
+++ b/
drivers/s390/cio/device.c
@@
-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);
/*