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

Commit 43158441 authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij
Browse files

gpio: samsung: Add terminating entry for exynos_pinctrl_ids



The of_device_id table is supposed to be zero-terminated.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Acked-by: default avatarKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent a4ba5e1b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3025,6 +3025,7 @@ static __init int samsung_gpiolib_init(void)
		{ .compatible = "samsung,exynos4210-pinctrl", },
		{ .compatible = "samsung,exynos4x12-pinctrl", },
		{ .compatible = "samsung,exynos5440-pinctrl", },
		{ }
	};
	for_each_matching_node(pctrl_np, exynos_pinctrl_ids)
		if (pctrl_np && of_device_is_available(pctrl_np))