mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-22 15:58:40 +00:00
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: e7f9ff5dc9 ("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>
11 lines
293 B
C
11 lines
293 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
#ifndef __LINUX_GPIO_PROPERTY_H
|
|
#define __LINUX_GPIO_PROPERTY_H
|
|
|
|
#include <linux/property.h>
|
|
|
|
#define PROPERTY_ENTRY_GPIO(_name_, _chip_node_, _idx_, _flags_) \
|
|
PROPERTY_ENTRY_REF(_name_, _chip_node_, _idx_, _flags_)
|
|
|
|
#endif /* __LINUX_GPIO_PROPERTY_H */
|