[PATCH] gpio: rcar: fix gpio_rcar_of_table
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Thu Jun 20 04:05:36 EDT 2013
Hi Arnd,
On Wednesday 19 June 2013 17:50:43 Arnd Bergmann wrote:
> The device table needs to be terminated with an empty element.
Oops, thanks for the patch.
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Cc: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
> Cc: Simon Horman <horms+renesas at verge.net.au>
Acked-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
> 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);
--
Regards,
Laurent Pinchart
More information about the linux-arm-kernel
mailing list