lkml.org 
[lkml]   [2007]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 11/34] cio: Fix device attributes for early devices.
    From: Cornelia Huck <cornelia.huck@de.ibm.com>

    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 | 1 +
    1 file changed, 1 insertion(+)

    Index: quilt-2.6/drivers/s390/cio/device.c
    ===================================================================
    --- quilt-2.6.orig/drivers/s390/cio/device.c
    +++ quilt-2.6/drivers/s390/cio/device.c
    @@ -1123,6 +1123,7 @@ io_subchannel_probe (struct subchannel *
    * device, e.g. the console.
    */
    cdev = sch->dev.driver_data;
    + cdev->dev.groups = ccwdev_attr_groups;
    device_initialize(&cdev->dev);
    ccw_device_register(cdev);
    /*
    --
    blue skies,
    Martin.

    "Reality continues to ruin my life." - Calvin.

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-10-04 13:35    [W:0.020 / U:32.728 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site