pinctrl: abx500: Add terminating entry for of_device_id table
authorAxel Lin <axel.lin@ingics.com>
Sun, 17 Feb 2013 13:58:47 +0000 (21:58 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 7 Mar 2013 04:27:29 +0000 (05:27 +0100)
The of_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-abx500.c

index 169d72c59a7b59bd3c36d6081aba07605e3424c8..e8abc3cf30334fb31c8d19a85b730fbaf85848e4 100644 (file)
@@ -834,6 +834,7 @@ static const struct of_device_id abx500_gpio_match[] = {
        { .compatible = "stericsson,ab8505-gpio", .data = (void *)PINCTRL_AB8505, },
        { .compatible = "stericsson,ab8540-gpio", .data = (void *)PINCTRL_AB8540, },
        { .compatible = "stericsson,ab9540-gpio", .data = (void *)PINCTRL_AB9540, },
+       { }
 };
 
 static int abx500_gpio_probe(struct platform_device *pdev)