Prev: [PATCH 15/22] Constify struct backlight_ops for 2.6.32-git-053fe57ac v2
Next: [PATCH 01/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/acpi/video.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index 05dff63..b662ab7 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -359,7 +359,7 @@ static int acpi_video_set_brightness(struct backlight_device *bd) vd->brightness->levels[request_level]); } -static struct backlight_ops acpi_backlight_ops = { +static const struct backlight_ops acpi_backlight_ops = { .get_brightness = acpi_video_get_brightness, .update_status = acpi_video_set_brightness, }; -- 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/ |