Re: [PATCH 10/22] Constify struct backlight_ops for 2.6.32-git-053fe57ac v2

From: Jonathan Woithe
Date: Sun Dec 13 2009 - 19:36:31 EST


Hi

> From: Emese Revfy <re.emese@xxxxxxxxx>
>
> Signed-off-by: Emese Revfy <re.emese@xxxxxxxxx>
> ---
> drivers/platform/x86/fujitsu-laptop.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c
> index bcd4ba8..a249b35 100644
> --- a/drivers/platform/x86/fujitsu-laptop.c
> +++ b/drivers/platform/x86/fujitsu-laptop.c
> @@ -436,7 +436,7 @@ static int bl_update_status(struct backlight_device *b)
> return ret;
> }
>
> -static struct backlight_ops fujitsubl_ops = {
> +static const struct backlight_ops fujitsubl_ops = {
> .get_brightness = bl_get_brightness,
> .update_status = bl_update_status,
> };

I have no problem with this, If this is the "accepted" convention here then
let's go for it.

Acked-by: Jonathan Woithe <jwoithe@xxxxxxxxxxxxxxxxxxxxxxx>

Regards
jonathan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/