linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Heiko Stübner" <heiko@sntech.de>
To: Jingoo Han <jg1.han@samsung.com>
Cc: 'Dmitry Torokhov' <dmitry.torokhov@gmail.com>,
	'Dmitry Torokhov' <dtor@mail.ru>,
	linux-input@vger.kernel.org
Subject: Re: [PATCH 13/13] Input: zforce - Make of_device_id array const
Date: Wed, 07 May 2014 11:30:28 +0200	[thread overview]
Message-ID: <1469911.0j9b7cZ7cd@diego> (raw)
In-Reply-To: <023a01cf69d6$6b46beb0$41d43c10$%han@samsung.com>

Am Mittwoch, 7. Mai 2014, 18:26:25 schrieb Jingoo Han:
> 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: Heiko Stuebner <heiko@sntech.de>

> ---
>  drivers/input/touchscreen/zforce_ts.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/input/touchscreen/zforce_ts.c
> b/drivers/input/touchscreen/zforce_ts.c index 01d30ce..feea85b 100644
> --- a/drivers/input/touchscreen/zforce_ts.c
> +++ b/drivers/input/touchscreen/zforce_ts.c
> @@ -880,7 +880,7 @@ static struct i2c_device_id zforce_idtable[] = {
>  MODULE_DEVICE_TABLE(i2c, zforce_idtable);
> 
>  #ifdef CONFIG_OF
> -static struct of_device_id zforce_dt_idtable[] = {
> +static const struct of_device_id zforce_dt_idtable[] = {
>  	{ .compatible = "neonode,zforce" },
>  	{},
>  };


  reply	other threads:[~2014-05-07  9:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07  9:11 [PATCH 01/13] Input: clps711x-keypad - Make of_device_id array const Jingoo Han
2014-05-07  9:15 ` [PATCH 02/13] Input: gpio_keys " Jingoo Han
2014-05-07  9:16 ` [PATCH 03/13] Input: gpio_keys_polled " Jingoo Han
2014-05-07  9:17 ` [PATCH 04/13] Input: imx_keypad " Jingoo Han
2014-05-07  9:18 ` [PATCH 05/13] Input: gpio-beeper " Jingoo Han
2014-05-07  9:19 ` [PATCH 06/13] Input: rotary_encoder " Jingoo Han
2014-05-07  9:20 ` [PATCH 07/13] Input: olpc_apsp " Jingoo Han
2014-05-07  9:21 ` [PATCH 08/13] Input: apbps2 " Jingoo Han
2014-05-07  9:22 ` [PATCH 09/13] Input: auo-pixcir-ts " Jingoo Han
2014-05-07  9:30   ` Heiko Stübner
2014-05-07  9:23 ` [PATCH 10/13] Input: egalax_ts " Jingoo Han
2014-05-07  9:24 ` PATCH 11/13] Input: lpc32xx_ts " Jingoo Han
2014-05-07  9:36   ` Roland Stigge
2014-05-07  9:25 ` [PATCH 12/13] Input: mms114 " Jingoo Han
2014-05-07  9:26 ` [PATCH 13/13] Input: zforce " Jingoo Han
2014-05-07  9:30   ` Heiko Stübner [this message]
2014-05-08 15:52 ` [PATCH 01/13] Input: clps711x-keypad " Dmitry Torokhov

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=1469911.0j9b7cZ7cd@diego \
    --to=heiko@sntech.de \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dtor@mail.ru \
    --cc=jg1.han@samsung.com \
    --cc=linux-input@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).