ata: pata_octeon_cf: Add missing header include
authorDamien Le Moal <dlemoal@kernel.org>
Thu, 15 Jun 2023 00:19:51 +0000 (09:19 +0900)
committerDamien Le Moal <dlemoal@kernel.org>
Thu, 15 Jun 2023 00:23:56 +0000 (09:23 +0900)
Include the header file linux/of_address.h to avoid compilation errors
triggered by of_property_read_reg() being undeclared.

Fixes: d0b2461678b1 ("ata: Use of_property_read_reg() to parse "reg"")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202306141702.ZaO9V2lk-lkp@intel.com/
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/pata_octeon_cf.c

index 57b2166..ff538b8 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/slab.h>
 #include <linux/irq.h>
 #include <linux/of.h>
+#include <linux/of_address.h>
 #include <linux/of_platform.h>
 #include <linux/platform_device.h>
 #include <scsi/scsi_host.h>