summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-samsung.c
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@linaro.org>2012-12-28 10:37:27 -0800
committerKukjin Kim <kgene.kim@samsung.com>2013-03-05 20:59:12 +0900
commit70850ad85370b2100ffe0e6a892c1d60569b476a (patch)
treede431f74df60fb5d23a81db550532f6cc38a37f9 /drivers/gpio/gpio-samsung.c
parentf67faf487fc182772ffa5521e94aa7f0816a309c (diff)
downloadlinux-70850ad85370b2100ffe0e6a892c1d60569b476a.tar.gz
linux-70850ad85370b2100ffe0e6a892c1d60569b476a.tar.bz2
linux-70850ad85370b2100ffe0e6a892c1d60569b476a.zip
gpio: samsung: skip gpiolib registration if pinctrl support is enabled for exynos5250
Skip exynos5250 gpiolib registration if pinctrl support for exynos5250 is enabled. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'drivers/gpio/gpio-samsung.c')
-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 b3643ff007e4..49b4292b2d6a 100644
--- a/drivers/gpio/gpio-samsung.c
+++ b/drivers/gpio/gpio-samsung.c
@@ -3024,6 +3024,7 @@ static __init int samsung_gpiolib_init(void)
static const struct of_device_id exynos_pinctrl_ids[] = {
{ .compatible = "samsung,exynos4210-pinctrl", },
{ .compatible = "samsung,exynos4x12-pinctrl", },
+ { .compatible = "samsung,exynos5250-pinctrl", },
{ .compatible = "samsung,exynos5440-pinctrl", },
};
for_each_matching_node(pctrl_np, exynos_pinctrl_ids)