aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-04-05 15:27:20 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-04-06 20:36:27 +0200
commit5d6f12c381071d2206a2b73140f7f1e7c86bc104 (patch)
treee969ada060711522819e8d628e64c0644cc3d691 /drivers/ata
parentcf02f71c3ef870f0376a723fd9c95d288f381984 (diff)
downloadlinux-5d6f12c381071d2206a2b73140f7f1e7c86bc104.tar.gz
pata: ixp4xx: 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/ata/pata_ixp4xx_cf.c:258:15: error: implicit declaration of function 'of_property_read_u32_index'; did you mean 'fwnode_property_read_u32_array'? [-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>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_ixp4xx_cf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c
index e225913a619d8..113087665832c 100644
--- a/drivers/ata/pata_ixp4xx_cf.c
+++ b/drivers/ata/pata_ixp4xx_cf.c
@@ -17,6 +17,7 @@
#include <linux/module.h>
#include <linux/libata.h>
#include <linux/irq.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <scsi/scsi_host.h>