gpio: rcar: fix gpio_rcar_of_table
authorArnd Bergmann <arnd@arndb.de>
Mon, 17 Jun 2013 07:55:50 +0000 (09:55 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 19 Jun 2013 15:47:25 +0000 (17:47 +0200)
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>
drivers/gpio/gpio-rcar.c

index 5a693dd0ac7ae0403bcb5ffcdcfc0b2456415033..f3327533bfd5fb0221c12ffb669f2fdce4fae06e 100644 (file)
@@ -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);