Skip to content

Commit

Permalink
gpiolib: swnode: Remove wrong header inclusion
Browse files Browse the repository at this point in the history
BugLink: https://bugs.launchpad.net/bugs/2068087

[ Upstream commit 69ffed4 ]

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]>
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Portia Stephens <[email protected]>
Signed-off-by: Stefan Bader <[email protected]>
  • Loading branch information
andy-shev authored and smb49 committed Jun 7, 2024
1 parent 778086f commit e8b4a38
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/linux/gpio/property.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#ifndef __LINUX_GPIO_PROPERTY_H
#define __LINUX_GPIO_PROPERTY_H

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

#define PROPERTY_ENTRY_GPIO(_name_, _chip_node_, _idx_, _flags_) \
Expand Down

0 comments on commit e8b4a38

Please sign in to comment.