From: Cornelia Huck Date: Fri, 12 Oct 2007 14:11:23 +0000 (+0200) Subject: [S390] cio: Fix device attributes for early devices. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e103178658f07131fee4e643596982b604cc63a9;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [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 Signed-off-by: Martin Schwidefsky --- 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) * device, e.g. the console. */ cdev = sch->dev.driver_data; + cdev->dev.groups = ccwdev_attr_groups; device_initialize(&cdev->dev); ccw_device_register(cdev); /*