Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70850ad8 authored by Thomas Abraham's avatar Thomas Abraham Committed by Kukjin Kim
Browse files

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: default avatarThomas Abraham <thomas.abraham@linaro.org>
Reviewed-by: default avatarTomasz Figa <t.figa@samsung.com>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent f67faf48
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)