summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2012-12-20 11:08:57 -0800
committerLinus Walleij <linus.walleij@linaro.org>2013-01-17 11:53:54 +0100
commit6948ce588bd765352df6f6b866f2151e26489ef1 (patch)
tree578c64284d0fc2d7ed777138ad595a64a4ccfbdc /drivers
parentdcb9c3491acd63396f51dd1daf29851a5f92f632 (diff)
downloadlinux-stable-6948ce588bd765352df6f6b866f2151e26489ef1.tar.gz
linux-stable-6948ce588bd765352df6f6b866f2151e26489ef1.tar.bz2
linux-stable-6948ce588bd765352df6f6b866f2151e26489ef1.zip
gpio: samsung: skip gpio lib registration for EXYNOS5440
Since exynos5440 can support pinctrl so skip the legacy gpiolib registration. If not, happens following. WARNING: at drivers/gpio/gpio-samsung.c:3102 samsung_gpiolib_init+0x68/0x8c() Unknown SoC in gpio-samsung, no GPIOs added Acked-by: Thomas Abraham <thomas.ab@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/gpio-samsung.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio-samsung.c
index c1f6bc2d87a9..76be7eed79de 100644
--- a/drivers/gpio/gpio-samsung.c
+++ b/drivers/gpio/gpio-samsung.c
@@ -3025,6 +3025,7 @@ static __init int samsung_gpiolib_init(void)
static const struct of_device_id exynos_pinctrl_ids[] = {
{ .compatible = "samsung,pinctrl-exynos4210", },
{ .compatible = "samsung,pinctrl-exynos4x12", },
+ { .compatible = "samsung,pinctrl-exynos5440", },
};
for_each_matching_node(pctrl_np, exynos_pinctrl_ids)
if (pctrl_np && of_device_is_available(pctrl_np))