提交 29ab875b 编写于 作者: L Linus Walleij

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: NLinus Walleij <linus.walleij@linaro.org>
上级 e1fef9e2
......@@ -16,7 +16,7 @@
#include <linux/device.h>
enum of_gpio_flags;
enum gpiod_flags;
struct acpi_device;
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册