All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gpio: rcar: fix gpio_rcar_of_table
@ 2013-06-19 15:50 ` Arnd Bergmann
  0 siblings, 0 replies; 10+ messages in thread
From: Arnd Bergmann @ 2013-06-19 15:50 UTC (permalink / raw)
  To: linux-arm-kernel

The device table needs to be terminated with an empty element.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Cc: Simon Horman <horms+renesas@verge.net.au>
---
I've just added this patch on top of the arm-soc next/drivers branch
that introduced the build warning.

diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
index 5a693dd..f332753 100644
--- a/drivers/gpio/gpio-rcar.c
+++ b/drivers/gpio/gpio-rcar.c
@@ -437,6 +437,7 @@ static const struct of_device_id gpio_rcar_of_table[] = {
 	{
 		.compatible = "renesas,gpio-rcar",
 	},
+	{ },
 };
 
 MODULE_DEVICE_TABLE(of, gpio_rcar_of_table);

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

end of thread, other threads:[~2013-06-20 12:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-19 15:50 [PATCH] gpio: rcar: fix gpio_rcar_of_table Arnd Bergmann
2013-06-19 15:50 ` Arnd Bergmann
2013-06-20  0:50 ` Simon Horman
2013-06-20  0:50   ` Simon Horman
2013-06-20 10:19   ` Arnd Bergmann
2013-06-20 10:19     ` Arnd Bergmann
2013-06-20 12:00     ` Simon Horman
2013-06-20 12:00       ` Simon Horman
2013-06-20  8:05 ` Laurent Pinchart
2013-06-20  8:05   ` Laurent Pinchart

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.