Skip to content

Commit 29ab875

Browse files
committed
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 <[email protected]>
1 parent e1fef9e commit 29ab875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpiolib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <linux/device.h>
1717

1818
enum of_gpio_flags;
19-
19+
enum gpiod_flags;
2020
struct acpi_device;
2121

2222
/**

0 commit comments

Comments
 (0)