linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Dietsche <gregory.dietsche@cuw.edu>
To: linux-fbdev@vger.kernel.org
Subject: Re: [PATCH] video: backlight: fix const array syntax
Date: Wed, 20 Jul 2011 02:09:06 +0000	[thread overview]
Message-ID: <4E2638C2.1010609@cuw.edu> (raw)
In-Reply-To: <1309560431-17389-1-git-send-email-Gregory.Dietsche@cuw.edu>



On 07/01/2011 05:47 PM, Greg Dietsche wrote:
> Correct the syntax so that both array and pointer are const.
>
> Signed-off-by: Greg Dietsche<Gregory.Dietsche@cuw.edu>
> ---
>   drivers/video/backlight/backlight.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/video/backlight/backlight.c b/drivers/video/backlight/backlight.c
> index 80d292f..4bda2e7 100644
> --- a/drivers/video/backlight/backlight.c
> +++ b/drivers/video/backlight/backlight.c
> @@ -19,7 +19,7 @@
>   #include<asm/backlight.h>
>   #endif
>
> -static const char const *backlight_types[] = {
> +static const char * const backlight_types[] = {
>   	[BACKLIGHT_RAW] = "raw",
>   	[BACKLIGHT_PLATFORM] = "platform",
>   	[BACKLIGHT_FIRMWARE] = "firmware",
>    

adding trivial@kernel.org to the cc list since this is trivial and no 
one has picked up this patch to date.

Greg


      reply	other threads:[~2011-07-20  2:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-01 22:47 [PATCH] video: backlight: fix const array syntax Greg Dietsche
2011-07-20  2:09 ` Greg Dietsche [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E2638C2.1010609@cuw.edu \
    --to=gregory.dietsche@cuw.edu \
    --cc=linux-fbdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).