pinctrl: nomadik: Add terminating entry for platform_device_id table
authorAxel Lin <axel.lin@ingics.com>
Sun, 4 Nov 2012 15:30:42 +0000 (23:30 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Nov 2012 11:45:17 +0000 (12:45 +0100)
The platform_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-nomadik.c

index f2fd99ba40e35ef16e128e1b69800316ef02cf6a..22f69375bb3ab98e0ed5f0297fd3ee4acb76ef19 100644 (file)
@@ -1922,6 +1922,7 @@ static const struct platform_device_id nmk_pinctrl_id[] = {
        { "pinctrl-stn8815", PINCTRL_NMK_STN8815 },
        { "pinctrl-db8500", PINCTRL_NMK_DB8500 },
        { "pinctrl-db8540", PINCTRL_NMK_DB8540 },
+       { }
 };
 
 static struct platform_driver nmk_pinctrl_driver = {