Skip to content

Commit

Permalink
ata: pata_octeon_cf: Add missing header include
Browse files Browse the repository at this point in the history
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 <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>
  • Loading branch information
Damien Le Moal committed Jun 15, 2023
1 parent 9e93627 commit 0013455
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/ata/pata_octeon_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 0013455

Please sign in to comment.