summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-05-04 11:31:01 -0600
committerSimon Glass <sjg@chromium.org>2015-05-14 18:49:34 -0600
commitf9523961b00f6ca3c33d2af641daed58fef96d1b (patch)
tree89f71d716e93b930cc9b684d64f2455019adea2b /include/asm-generic
parentf0e57b1bf9d19a1b15e7063cef950448b38c277a (diff)
downloadu-boot-imx-f9523961b00f6ca3c33d2af641daed58fef96d1b.zip
u-boot-imx-f9523961b00f6ca3c33d2af641daed58fef96d1b.tar.gz
u-boot-imx-f9523961b00f6ca3c33d2af641daed58fef96d1b.tar.bz2
dm: gpio: Fix comment typo in GPIOD_IS_IN
This should say 'in', not 'out'. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index 4752ea4..519bb0b 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -115,7 +115,7 @@ struct gpio_desc {
unsigned long flags;
#define GPIOD_REQUESTED (1 << 0) /* Requested/claimed */
#define GPIOD_IS_OUT (1 << 1) /* GPIO is an output */
-#define GPIOD_IS_IN (1 << 2) /* GPIO is an output */
+#define GPIOD_IS_IN (1 << 2) /* GPIO is an input */
#define GPIOD_ACTIVE_LOW (1 << 3) /* value has active low */
#define GPIOD_IS_OUT_ACTIVE (1 << 4) /* set output active */