From: Rob Herring Date: Wed, 5 Apr 2023 20:27:17 +0000 (-0500) Subject: net: rfkill-gpio: Add explicit include for of.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=75c7124ef3bafe0e9d1801d6449196dc3105df24;p=linux.git net: rfkill-gpio: Add explicit include for of.h With linux/acpi.h no longer implicitly including of.h, add an explicit include of of.h to fix the following error: net/rfkill/rfkill-gpio.c:181:21: error: implicit declaration of function 'of_match_ptr' is invalid in C99 [-Werror,-Wimplicit-function-declaration] Acked-by: Johannes Berg Reviewed-by: Jacob Keller Reviewed-by: Greg Kroah-Hartman Signed-off-by: Rob Herring Signed-off-by: Rafael J. Wysocki --- diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c index 786dbfdad7726..e9d1b2f2ff0ad 100644 --- a/net/rfkill/rfkill-gpio.c +++ b/net/rfkill/rfkill-gpio.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include