linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jingoo Han <jg1.han@samsung.com>
To: 'Dmitry Torokhov' <dmitry.torokhov@gmail.com>
Cc: 'Dmitry Torokhov' <dtor@mail.ru>,
	linux-input@vger.kernel.org, 'Jingoo Han' <jg1.han@samsung.com>,
	'Joonyoung Shim' <jy0922.shim@samsung.com>
Subject: [PATCH 12/13] Input: mms114 - Make of_device_id array const
Date: Wed, 07 May 2014 18:25:44 +0900	[thread overview]
Message-ID: <023901cf69d6$52d45a40$f87d0ec0$%han@samsung.com> (raw)
In-Reply-To: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com>

Make of_device_id array const, because all OF functions
handle it as const.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/input/touchscreen/mms114.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c
index 8a598c0..9d83413 100644
--- a/drivers/input/touchscreen/mms114.c
+++ b/drivers/input/touchscreen/mms114.c
@@ -570,7 +570,7 @@ static const struct i2c_device_id mms114_id[] = {
 MODULE_DEVICE_TABLE(i2c, mms114_id);
 
 #ifdef CONFIG_OF
-static struct of_device_id mms114_dt_match[] = {
+static const struct of_device_id mms114_dt_match[] = {
 	{ .compatible = "melfas,mms114" },
 	{ }
 };
-- 
1.7.10.4



  parent reply	other threads:[~2014-05-07  9:25 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 ` Jingoo Han [this message]
2014-05-07  9:26 ` [PATCH 13/13] Input: zforce " Jingoo Han
2014-05-07  9:30   ` Heiko Stübner
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='023901cf69d6$52d45a40$f87d0ec0$%han@samsung.com' \
    --to=jg1.han@samsung.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dtor@mail.ru \
    --cc=jy0922.shim@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).