diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-03-16 00:21:12 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-03-27 11:05:19 -0400 |
commit | 43158441934fd9f1d2a2434c9eec1b682391a49b (patch) | |
tree | d7f78cc4310198fce11486e7359cd532c4d4b7e8 | |
parent | a4ba5e1b92b69b9c7a15529657bb1cebed4539f3 (diff) |
gpio: samsung: Add terminating entry for exynos_pinctrl_ids
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>
-rw-r--r-- | drivers/gpio/gpio-samsung.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c index b3643ff007e4..c4b51d820417 100644 --- a/drivers/gpio/gpio-samsung.c +++ b/drivers/gpio/gpio-samsung.c | |||
@@ -3025,6 +3025,7 @@ static __init int samsung_gpiolib_init(void) | |||
3025 | { .compatible = "samsung,exynos4210-pinctrl", }, | 3025 | { .compatible = "samsung,exynos4210-pinctrl", }, |
3026 | { .compatible = "samsung,exynos4x12-pinctrl", }, | 3026 | { .compatible = "samsung,exynos4x12-pinctrl", }, |
3027 | { .compatible = "samsung,exynos5440-pinctrl", }, | 3027 | { .compatible = "samsung,exynos5440-pinctrl", }, |
3028 | { } | ||
3028 | }; | 3029 | }; |
3029 | for_each_matching_node(pctrl_np, exynos_pinctrl_ids) | 3030 | for_each_matching_node(pctrl_np, exynos_pinctrl_ids) |
3030 | if (pctrl_np && of_device_is_available(pctrl_np)) | 3031 | if (pctrl_np && of_device_is_available(pctrl_np)) |