From: Rob Herring Date: Wed, 5 Apr 2023 20:27:20 +0000 (-0500) Subject: pata: ixp4xx: Add explicit include for of.h X-Git-Tag: v6.4-rc1~149^2~1^4~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5d6f12c381071d2206a2b73140f7f1e7c86bc104;p=thirdparty%2Flinux.git 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 Signed-off-by: Rob Herring Signed-off-by: Rafael J. Wysocki --- 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 #include #include +#include #include #include #include