Skip to content

Commit 5d6f12c

Browse files
robherringrafaeljw
authored andcommitted
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>
1 parent cf02f71 commit 5d6f12c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/ata/pata_ixp4xx_cf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <linux/module.h>
1818
#include <linux/libata.h>
1919
#include <linux/irq.h>
20+
#include <linux/of.h>
2021
#include <linux/platform_device.h>
2122
#include <linux/regmap.h>
2223
#include <scsi/scsi_host.h>

0 commit comments

Comments
 (0)