summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-04-05 15:27:19 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-04-06 20:36:27 +0200
commitcf02f71c3ef870f0376a723fd9c95d288f381984 (patch)
tree019468c809647cc57e5ac17f8e20cb4ab22cde17
parent933c9f190543007385ccf899e257328c525ce7e5 (diff)
downloadlinux-cf02f71c3ef870f0376a723fd9c95d288f381984.tar.gz
linux-cf02f71c3ef870f0376a723fd9c95d288f381984.tar.bz2
linux-cf02f71c3ef870f0376a723fd9c95d288f381984.zip
ata: pata_macio: Add explicit include of irqdomain.h
With linux/acpi.h no longer including irqdomain.h, add an explicit include of irqdomain.h to fix the following error: drivers/ata/pata_macio.c:1172:23: error: implicit declaration of function 'irq_create_mapping' [-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>
-rw-r--r--drivers/ata/pata_macio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/pata_macio.c b/drivers/ata/pata_macio.c
index 9ccaac9e2bc3..335e339a7ada 100644
--- a/drivers/ata/pata_macio.c
+++ b/drivers/ata/pata_macio.c
@@ -21,6 +21,7 @@
#include <linux/adb.h>
#include <linux/pmu.h>
#include <linux/scatterlist.h>
+#include <linux/irqdomain.h>
#include <linux/of.h>
#include <linux/gfp.h>
#include <linux/pci.h>