gpio: move GPIOD flags outside #ifdef
authorLinus Walleij <[email protected]>
Tue, 19 Aug 2014 17:00:53 +0000 (12:00 -0500)
committerLinus Walleij <[email protected]>
Thu, 21 Aug 2014 12:44:36 +0000 (07:44 -0500)
commit58b84f6a97f7f8811e0636836734809ff52cad43
tree162a1d981c519433f076244882ce7045a63c635c
parent8a69155040bf8745a9a95da8cbaab2940b4093d5
gpio: move GPIOD flags outside #ifdef

The GPIOD flags are defined inside the #ifdef CONFIG_GPIOLIB
switch, making the gpiolib stubs fail if these flags are used
by a consumer. This is not correct: the stubs should compile
fine without GPIOLIB.

Reported-by: Ulf Hansson <[email protected]>
Reviewed-by: Alexandre Courbot <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
include/linux/gpio/consumer.h