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 04/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/video/atmel_lcdfb.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
    index 3d886c6..22ee7f8 100644
    --- a/drivers/video/atmel_lcdfb.c
    +++ b/drivers/video/atmel_lcdfb.c
    @@ -110,7 +110,7 @@ static int atmel_bl_get_brightness(struct backlight_device *bl)
    return lcdc_readl(sinfo, ATMEL_LCDC_CONTRAST_VAL);
    }

    -static struct backlight_ops atmel_lcdc_bl_ops = {
    +static const struct backlight_ops atmel_lcdc_bl_ops = {
    .update_status = atmel_bl_update_status,
    .get_brightness = atmel_bl_get_brightness,
    };
    --
    1.6.5.3


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