Commit ac25da7f authored by Florian Vaussard's avatar Florian Vaussard Committed by Benoit Cousson
Browse files

ARM: dts: Protect pinctrl headers against multiple inclusions



Pinctrl headers were not protected with #ifndef.

Signed-off-by: default avatarFlorian Vaussard <florian.vaussard@epfl.ch>
Acked-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Signed-off-by: default avatarBenoit Cousson <benoit.cousson@linaro.org>
parent 75fbbca2
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@
 * This header provides constants specific to AM33XX pinctrl bindings.
 */

#ifndef _DT_BINDINGS_PINCTRL_AM33XX_H
#define _DT_BINDINGS_PINCTRL_AM33XX_H

#include <include/dt-bindings/pinctrl/omap.h>

/* am33xx specific mux bit defines */
@@ -35,3 +38,5 @@
#undef PIN_OFF_INPUT_PULLDOWN
#undef PIN_OFF_WAKEUPENABLE

#endif
+5 −0
Original line number Diff line number Diff line
@@ -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