Prev: [PATCH 02/22] Constify struct backlight_ops for 2.6.32-git-053fe57ac v2
Next: [PATCH 03/22] Constify struct backlight_ops for 2.6.32-git-053fe57ac v2
From: re.emese on 13 Dec 2009 19:30 From: Emese Revfy <re.emese(a)gmail.com> Signed-off-by: Emese Revfy <re.emese(a)gmail.com> --- drivers/platform/x86/acer-wmi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 454970d..98f0e9a 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -918,7 +918,7 @@ static int update_bl_status(struct backlight_device *bd) return 0; } -static struct backlight_ops acer_bl_ops = { +static const struct backlight_ops acer_bl_ops = { .get_brightness = read_brightness, .update_status = update_bl_status, }; -- 1.6.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |