Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: e7f9ff5dc90c ("gpiolib: add support for software nodes")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

authored by

Andy Shevchenko and committed by
Bartosz Golaszewski
69ffed4b 11baa36d

-1
-1
include/linux/gpio/property.h
··· 2 2 #ifndef __LINUX_GPIO_PROPERTY_H 3 3 #define __LINUX_GPIO_PROPERTY_H 4 4 5 - #include <dt-bindings/gpio/gpio.h> /* for GPIO_* flags */ 6 5 #include <linux/property.h> 7 6 8 7 #define PROPERTY_ENTRY_GPIO(_name_, _chip_node_, _idx_, _flags_) \