diff options
author | Thomas Abraham <thomas.abraham@linaro.org> | 2012-12-28 13:37:27 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-03-05 06:59:12 -0500 |
commit | 70850ad85370b2100ffe0e6a892c1d60569b476a (patch) | |
tree | de431f74df60fb5d23a81db550532f6cc38a37f9 /drivers/gpio | |
parent | f67faf487fc182772ffa5521e94aa7f0816a309c (diff) |
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')
-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..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) | |||
3024 | static const struct of_device_id exynos_pinctrl_ids[] = { | 3024 | static const struct of_device_id exynos_pinctrl_ids[] = { |
3025 | { .compatible = "samsung,exynos4210-pinctrl", }, | 3025 | { .compatible = "samsung,exynos4210-pinctrl", }, |
3026 | { .compatible = "samsung,exynos4x12-pinctrl", }, | 3026 | { .compatible = "samsung,exynos4x12-pinctrl", }, |
3027 | { .compatible = "samsung,exynos5250-pinctrl", }, | ||
3027 | { .compatible = "samsung,exynos5440-pinctrl", }, | 3028 | { .compatible = "samsung,exynos5440-pinctrl", }, |
3028 | }; | 3029 | }; |
3029 | for_each_matching_node(pctrl_np, exynos_pinctrl_ids) | 3030 | for_each_matching_node(pctrl_np, exynos_pinctrl_ids) |