linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/7] gpio: grgpio: Make of_device_id array const
@ 2014-05-07  9:03 Jingoo Han
  2014-05-07  9:05 ` [PATCH 2/7] gpio: mcp23s08: " Jingoo Han
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Jingoo Han @ 2014-05-07  9:03 UTC (permalink / raw)
  To: 'Linus Walleij'
  Cc: 'Alexandre Courbot', linux-gpio, 'Jingoo Han',
	'Andreas Larsson'

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

Signed-off-by: Jingoo Han <jg1.han@samsung.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"},
 	{},
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-05-09  9:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 1/7] gpio: grgpio: " Andreas Larsson
2014-05-09  8:58 ` Linus Walleij

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).