History

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.

Andy Shevchenko committed 2 years ago

Commit 69ffed41 parent 11baa361 file · +0 −1Browse files

Unified · Split

include/linux/gpio/property.h+0−1
@@ -2,7 +2,6 @@ · 1 unmodified line
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_) \