Skip to content

Commit 0013455

Browse files
committed
ata: pata_octeon_cf: Add missing header include
Include the header file linux/of_address.h to avoid compilation errors triggered by of_property_read_reg() being undeclared. Fixes: d0b2461 ("ata: Use of_property_read_reg() to parse "reg"") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Damien Le Moal <[email protected]>
1 parent 9e93627 commit 0013455

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/ata/pata_octeon_cf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include <linux/slab.h>
1717
#include <linux/irq.h>
1818
#include <linux/of.h>
19+
#include <linux/of_address.h>
1920
#include <linux/of_platform.h>
2021
#include <linux/platform_device.h>
2122
#include <scsi/scsi_host.h>

0 commit comments

Comments
 (0)