From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Date: Wed, 19 Jun 2013 15:50:43 +0000 Subject: [PATCH] gpio: rcar: fix gpio_rcar_of_table Message-Id: <201306191750.43755.arnd@arndb.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org The device table needs to be terminated with an empty element. Signed-off-by: Arnd Bergmann Cc: Laurent Pinchart Cc: Simon Horman --- 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); From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Wed, 19 Jun 2013 17:50:43 +0200 Subject: [PATCH] gpio: rcar: fix gpio_rcar_of_table Message-ID: <201306191750.43755.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org The device table needs to be terminated with an empty element. Signed-off-by: Arnd Bergmann Cc: Laurent Pinchart Cc: Simon Horman --- 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);