From 29ab875b7b4892af1a6cd0084faed37245b8dd2c Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Tue, 8 Dec 2015 22:45:10 +0100 Subject: [PATCH] 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 --- drivers/gpio/gpiolib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpiolib.h b/drivers/gpio/gpiolib.h index 2b87cbd..0a7c02d 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; /** -- 2.7.4