gpio: forward-declare enum gpiod_flags
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 21:45:10 +0000 (22:45 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Dec 2015 18:14:35 +0000 (19:14 +0100)
commit29ab875b7b4892af1a6cd0084faed37245b8dd2c
treee0412041a1306113217abcfd4212038d78352184
parente1fef9e2ce4272b720ecb1ce696a72aaddbb7585
gpio: forward-declare enum gpiod_flags

This enum is used in the gpiolib.h header file, yet
<linux/gpio/consumer.h> is not included so plainly including this
file (and some drivers do) will raise compile problems.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.h