gpio: samsung: Add terminating entry for exynos_pinctrl_ids
authorAxel Lin <axel.lin@ingics.com>
Sat, 16 Mar 2013 04:21:12 +0000 (12:21 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Mar 2013 15:05:19 +0000 (16:05 +0100)
The of_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-samsung.c

index b3643ff..c4b51d8 100644 (file)
@@ -3025,6 +3025,7 @@ static __init int samsung_gpiolib_init(void)
                { .compatible = "samsung,exynos4210-pinctrl", },
                { .compatible = "samsung,exynos4x12-pinctrl", },
                { .compatible = "samsung,exynos5440-pinctrl", },
+               { }
        };
        for_each_matching_node(pctrl_np, exynos_pinctrl_ids)
                if (pctrl_np && of_device_is_available(pctrl_np))