]> git.karo-electronics.de Git - linux-beck.git/commitdiff
gpio: samsung: skip gpiolib registration if pinctrl support is enabled for exynos5250
authorThomas Abraham <thomas.abraham@linaro.org>
Fri, 28 Dec 2012 18:37:27 +0000 (10:37 -0800)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 5 Mar 2013 11:59:12 +0000 (20:59 +0900)
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>
drivers/gpio/gpio-samsung.c

index b3643ff007e4772285731443e15c485b54ccbbda..49b4292b2d6aa5fb7e55107c947972df8d1384cf 100644 (file)
@@ -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)