mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
gpiolib: of: add forward declaration for struct device_node
Commit08a149c40b
("gpiolib: Clean up headers") added a forward declaration for struct device. Later, commit07445ae1c2
("gpiolib: of: change of_find_gpio() to accept device node") changed the function signature to accept a struct device_node instead of a struct device. Replace forward declaration of struct device with struct device_node to match the updated function signature. Signed-off-by: Andrei Lalaev <andrey.lalaev@gmail.com> Link: https://lore.kernel.org/r/20250721155737.261990-1-andrey.lalaev@gmail.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
This commit is contained in:
parent
ff4322b22f
commit
c32f66d174
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <linux/notifier.h>
|
||||
|
||||
struct device;
|
||||
struct device_node;
|
||||
struct fwnode_handle;
|
||||
|
||||
struct gpio_chip;
|
||||
|
|
Loading…
Add table
Reference in a new issue