Skip to content

Commit 69ffed4

Browse files
andy-shevBartosz Golaszewski
authored andcommitted
gpiolib: swnode: Remove wrong header inclusion
The flags in the software node properties are supposed to be the GPIO lookup flags, which are provided by gpio/machine.h, as the software nodes are the kernel internal thing and doesn't need to rely to any of ABIs. Fixes: e7f9ff5 ("gpiolib: add support for software nodes") Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent 11baa36 commit 69ffed4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/gpio/property.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#ifndef __LINUX_GPIO_PROPERTY_H
33
#define __LINUX_GPIO_PROPERTY_H
44

5-
#include <dt-bindings/gpio/gpio.h> /* for GPIO_* flags */
65
#include <linux/property.h>
76

87
#define PROPERTY_ENTRY_GPIO(_name_, _chip_node_, _idx_, _flags_) \

0 commit comments

Comments
 (0)