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

    diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
    index 51c0a8b..0786629 100644
    --- a/drivers/platform/x86/toshiba_acpi.c
    +++ b/drivers/platform/x86/toshiba_acpi.c
    @@ -671,7 +671,7 @@ static acpi_status remove_device(void)
    return AE_OK;
    }

    -static struct backlight_ops toshiba_backlight_data = {
    +static const struct backlight_ops toshiba_backlight_data = {
    .get_brightness = get_lcd,
    .update_status = set_lcd_status,
    };
    --
    1.6.5.3


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