lkml.org 
[lkml]   [2008]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 04/79] Firmware: fix typo in example code
    Date
    It's not like this stuff even builds right now, but this will make
    Randy's scripts happy :)


    Cc: Randy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    ---
    .../firmware_sample_firmware_class.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/samples/firmware_class/firmware_sample_firmware_class.c b/samples/firmware_class/firmware_sample_firmware_class.c
    index 9392116..e6cf7a4 100644
    --- a/samples/firmware_class/firmware_sample_firmware_class.c
    +++ b/samples/firmware_class/firmware_sample_firmware_class.c
    @@ -124,7 +124,7 @@ static int fw_setup_class_device(struct class_device *class_dev,
    class_dev->class_id[BUS_ID_SIZE-1] = '\0';
    class_dev->dev = device;

    - class_dev->class = &firmware_class,
    + class_dev->class = &firmware_class;
    class_set_devdata(class_dev, fw_priv);
    retval = class_device_register(class_dev);
    if (retval) {
    --
    1.5.6.3


    \
     
     \ /
      Last update: 2008-07-22 07:25    [W:0.020 / U:60.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site