From: Andreas Larsson <andreas@gaisler.com>
To: Jingoo Han <jg1.han@samsung.com>,
'Linus Walleij' <linus.walleij@linaro.org>
Cc: 'Alexandre Courbot' <gnurou@gmail.com>, linux-gpio@vger.kernel.org
Subject: Re: [PATCH 1/7] gpio: grgpio: Make of_device_id array const
Date: Wed, 07 May 2014 14:01:56 +0200 [thread overview]
Message-ID: <536A20B4.6090707@gaisler.com> (raw)
In-Reply-To: <022701cf69d3$37a74a00$a6f5de00$%han@samsung.com>
On 2014-05-07 11:03, Jingoo Han wrote:
> Make of_device_id array const, because all OF functions
> handle it as const.
>
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Andreas Larsson <andreas@gaisler.com>
> ---
> drivers/gpio/gpio-grgpio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-grgpio.c b/drivers/gpio/gpio-grgpio.c
> index 84d2478..3c3f515 100644
> --- a/drivers/gpio/gpio-grgpio.c
> +++ b/drivers/gpio/gpio-grgpio.c
> @@ -481,7 +481,7 @@ out:
> return ret;
> }
>
> -static struct of_device_id grgpio_match[] = {
> +static const struct of_device_id grgpio_match[] = {
> {.name = "GAISLER_GPIO"},
> {.name = "01_01a"},
> {},
>
next prev parent reply other threads:[~2014-05-07 12:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-07 9:03 [PATCH 1/7] gpio: grgpio: Make of_device_id array const Jingoo Han
2014-05-07 9:05 ` [PATCH 2/7] gpio: mcp23s08: " Jingoo Han
2014-05-09 8:59 ` Linus Walleij
2014-05-07 9:06 ` [PATCH 3/7] gpio: mvebu: " Jingoo Han
2014-05-09 9:01 ` Linus Walleij
2014-05-07 9:06 ` [PATCH 4/7] gpio: palmas: " Jingoo Han
2014-05-07 9:07 ` [PATCH 5/7] gpio: tegra: " Jingoo Han
2014-05-09 9:02 ` Linus Walleij
2014-05-07 9:08 ` [PATCH 6/7] gpio: xilinx: " Jingoo Han
2014-05-07 11:25 ` Michal Simek
2014-05-09 9:03 ` Linus Walleij
2014-05-07 9:09 ` [PATCH 7/7] gpio: zevio: " Jingoo Han
2014-05-09 9:04 ` Linus Walleij
2014-05-07 12:01 ` Andreas Larsson [this message]
2014-05-09 8:58 ` [PATCH 1/7] gpio: grgpio: " Linus Walleij
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=536A20B4.6090707@gaisler.com \
--to=andreas@gaisler.com \
--cc=gnurou@gmail.com \
--cc=jg1.han@samsung.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.