mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 23:24:11 +08:00
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>
This commit is contained in:
parent
e1fef9e2ce
commit
29ab875b7b
@ -16,7 +16,7 @@
|
||||
#include <linux/device.h>
|
||||
|
||||
enum of_gpio_flags;
|
||||
|
||||
enum gpiod_flags;
|
||||
struct acpi_device;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user