From: Linus Walleij Date: Tue, 8 Dec 2015 21:45:10 +0000 (+0100) Subject: gpio: forward-declare enum gpiod_flags X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=29ab875b7b4892af1a6cd0084faed37245b8dd2c;p=linux-beck.git gpio: forward-declare enum gpiod_flags This enum is used in the gpiolib.h header file, yet is not included so plainly including this file (and some drivers do) will raise compile problems. Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpiolib.h b/drivers/gpio/gpiolib.h index 2b87cbd68478..0a7c02d76909 100644 --- a/drivers/gpio/gpiolib.h +++ b/drivers/gpio/gpiolib.h @@ -16,7 +16,7 @@ #include enum of_gpio_flags; - +enum gpiod_flags; struct acpi_device; /**