]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
dm: gpio: Fix comment typo in GPIOD_IS_IN
authorSimon Glass <sjg@chromium.org>
Mon, 4 May 2015 17:31:01 +0000 (11:31 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:39:39 +0000 (22:39 +0200)
This should say 'in', not 'out'.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/asm-generic/gpio.h

index acd2993efc3daf509f26eeda20dfe42b4a564b75..d4e5c6e09b14deb469f789e2989672b910edf4e7 100644 (file)
@@ -127,7 +127,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 */