summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos4210-pinctrl.dtsi
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-09-04 14:04:06 +0300
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2016-09-16 14:31:37 +0300
commit90c6e35383dd02ef68a71f8373bdc9fbd0684a26 (patch)
treefbb865ca08d2b0b3c71724a8c266bb37a01fdcef /arch/arm/boot/dts/exynos4210-pinctrl.dtsi
parentc0fee590160637e1306dd4bc1018e89ff99ef00d (diff)
downloadlinux-90c6e35383dd02ef68a71f8373bdc9fbd0684a26.tar.xz
ARM: dts: exynos: Use common macros for pinctrl configuration
Replace duplicated macros in each DTSI file with a common macro coming from header. Include the header in each pinctrl DTSI so further changes could use it. Although PIN_FUNC_SPC_2 does not bring much information about the function itself, it still is more descriptive then hard-coded number <2>. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos4210-pinctrl.dtsi')
-rw-r--r--arch/arm/boot/dts/exynos4210-pinctrl.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4210-pinctrl.dtsi b/arch/arm/boot/dts/exynos4210-pinctrl.dtsi
index 9331c6252eff..cc65537ff79b 100644
--- a/arch/arm/boot/dts/exynos4210-pinctrl.dtsi
+++ b/arch/arm/boot/dts/exynos4210-pinctrl.dtsi
@@ -14,6 +14,8 @@
* published by the Free Software Foundation.
*/
+#include <dt-bindings/pinctrl/samsung.h>
+
/ {
pinctrl@11400000 {
gpa0: gpa0 {