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