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>,
	'Alexander Shiyan' <shc_work@mail.ru>
Subject: [PATCH 01/13] Input: clps711x-keypad - Make of_device_id array const
Date: Wed, 07 May 2014 18:11:52 +0900	[thread overview]
Message-ID: <022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com> (raw)

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/keyboard/clps711x-keypad.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/keyboard/clps711x-keypad.c b/drivers/input/keyboard/clps711x-keypad.c
index 3955aec..552b65c 100644
--- a/drivers/input/keyboard/clps711x-keypad.c
+++ b/drivers/input/keyboard/clps711x-keypad.c
@@ -185,7 +185,7 @@ static int clps711x_keypad_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static struct of_device_id clps711x_keypad_of_match[] = {
+static const struct of_device_id clps711x_keypad_of_match[] = {
 	{ .compatible = "cirrus,clps711x-keypad", },
 	{ }
 };
-- 
1.7.10.4



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

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07  9:11 Jingoo Han [this message]
2014-05-07  9:15 ` [PATCH 02/13] Input: gpio_keys - Make of_device_id array const 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
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='022e01cf69d4$62d1e5e0$2875b1a0$%han@samsung.com' \
    --to=jg1.han@samsung.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dtor@mail.ru \
    --cc=linux-input@vger.kernel.org \
    --cc=shc_work@mail.ru \
    /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).