From: Simon Glass Date: Mon, 4 May 2015 17:31:01 +0000 (-0600) Subject: dm: gpio: Fix comment typo in GPIOD_IS_IN X-Git-Tag: v2015.07-rc2~221 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f9523961b00f6ca3c33d2af641daed58fef96d1b;p=u-boot dm: gpio: Fix comment typo in GPIOD_IS_IN This should say 'in', not 'out'. Signed-off-by: Simon Glass --- diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index 4752ea4d82..519bb0be27 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 */