Commit c32f66d1 authored by Andrei Lalaev's avatar Andrei Lalaev Committed by Bartosz Golaszewski
Browse files

gpiolib: of: add forward declaration for struct device_node



Commit 08a149c4 ("gpiolib: Clean up headers") added a forward
declaration for struct device.

Later, commit 07445ae1 ("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: default avatarAndrei Lalaev <andrey.lalaev@gmail.com>
Link: https://lore.kernel.org/r/20250721155737.261990-1-andrey.lalaev@gmail.com


Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
parent ff4322b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment