lkml.org 
[lkml]   [2009]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 07/22] Constify struct backlight_ops for 2.6.32-git-053fe57ac v2
    Date
    From: Emese Revfy <re.emese@gmail.com>


    Signed-off-by: Emese Revfy <re.emese@gmail.com>
    ---
    drivers/platform/x86/dell-laptop.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
    index 74909c4..e1ac2ba 100644
    --- a/drivers/platform/x86/dell-laptop.c
    +++ b/drivers/platform/x86/dell-laptop.c
    @@ -305,7 +305,7 @@ static int dell_get_intensity(struct backlight_device *bd)
    return buffer.output[1];
    }

    -static struct backlight_ops dell_ops = {
    +static const struct backlight_ops dell_ops = {
    .get_brightness = dell_get_intensity,
    .update_status = dell_send_intensity,
    };
    --
    1.6.5.3


    \
     
     \ /
      Last update: 2009-12-14 01:29    [W:0.022 / U:0.048 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site