summaryrefslogtreecommitdiff
path: root/include/dt-bindings/pinctrl/omap.h
diff options
context:
space:
mode:
authorFlorian Vaussard <florian.vaussard@epfl.ch>2013-06-11 18:50:50 +0400
committerBenoit Cousson <benoit.cousson@linaro.org>2013-06-19 13:34:42 +0400
commitac25da7f30a118b7021c5b49c2cc50ba832db962 (patch)
tree9b35f5e29a02fb3c7ffd2eea8a3e7ce6eda58c07 /include/dt-bindings/pinctrl/omap.h
parent75fbbca2b11ce7c8ee728a8c5d0e58b477eccf4f (diff)
downloadlinux-ac25da7f30a118b7021c5b49c2cc50ba832db962.tar.xz
ARM: dts: Protect pinctrl headers against multiple inclusions
Pinctrl headers were not protected with #ifndef. Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
Diffstat (limited to 'include/dt-bindings/pinctrl/omap.h')
-rw-r--r--include/dt-bindings/pinctrl/omap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dt-bindings/pinctrl/omap.h b/include/dt-bindings/pinctrl/omap.h
index 370df3f376cb..edbd250809cb 100644
--- a/include/dt-bindings/pinctrl/omap.h
+++ b/include/dt-bindings/pinctrl/omap.h
@@ -5,6 +5,9 @@
* Copyright (C) 2009-2010 Texas Instruments
*/
+#ifndef _DT_BINDINGS_PINCTRL_OMAP_H
+#define _DT_BINDINGS_PINCTRL_OMAP_H
+
/* 34xx mux mode options for each pin. See TRM for options */
#define MUX_MODE0 0
#define MUX_MODE1 1
@@ -48,3 +51,5 @@
#define PIN_OFF_INPUT_PULLDOWN (OFF_EN | OFF_PULL_EN)
#define PIN_OFF_WAKEUPENABLE WAKEUP_EN
+#endif
+