net: rfkill-gpio: Add explicit include for of.h
authorRob Herring <robh@kernel.org>
Wed, 5 Apr 2023 20:27:17 +0000 (15:27 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 6 Apr 2023 18:36:27 +0000 (20:36 +0200)
commit75c7124ef3bafe0e9d1801d6449196dc3105df24
tree728f11b746d3d7000cb9d02fdd3ba8dbc12e714a
parent98aeb3b0b6bd2704b2c687b084eeebdee49b073b
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 <johannes@sipsolutions.net>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
net/rfkill/rfkill-gpio.c