Re: [PATCH 3/5] net: rfkill-gpio: Add explicit include for of.h

From: Johannes Berg
Date: Wed Mar 29 2023 - 17:27:33 EST


On Wed, 2023-03-29 at 16:20 -0500, Rob Herring wrote:
> 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]
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>

Sounds good!

Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

I'm happy with Rafael taking the entire series, there's nothing here
that I expect to conflict, and anyway it'd be trivial.

Thanks,
johannes