virtio-mmio: Add explicit include for of.h
authorRob Herring <robh@kernel.org>
Wed, 5 Apr 2023 20:27:21 +0000 (15:27 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 6 Apr 2023 18:36:27 +0000 (20:36 +0200)
commitc5111a5b1a603cbad4bb3b49ae9a77dbc2252a59
tree0f0b64aeee75bcdc93b1eb9f07d177a2eef41ea7
parent5d6f12c381071d2206a2b73140f7f1e7c86bc104
virtio-mmio: 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:

drivers/virtio/virtio_mmio.c:492:13: error: implicit declaration of function 'of_property_read_bool'; did you mean 'fwnode_property_read_bool'? [-Werror=implicit-function-declaration]

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/virtio/virtio_mmio.c