X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fasm-generic%2Fgpio.h;h=519bb0be27acbfb3b0fb9d580bd5f72a406b5e7f;hb=b14d547245bf47d861b5a9cc5327d98b89e5d0af;hp=4752ea4d8237848d1c8ccfcb218e73179a462c90;hpb=962f5caf600c54f4103bfa6b31fa2fb4e8aaacb9;p=u-boot 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 */