Subject: linux-next: build failure after merge of the pm tree

From: Stephen Rothwell <[email-masked]>
Date: Mon, 3 Apr 2023 11:06:50 +1000

Hi all,

After merging the pm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/ata/pata_macio.c: In function 'pata_macio_attach':
drivers/ata/pata_macio.c:1172:23: error: implicit declaration of function 'irq_create_mapping' [-Werror=implicit-function-declaration]
 1172 |                 irq = irq_create_mapping(NULL, 13);
      |                       ^~~~~~~~~~~~~~~~~~

Caused by commit (I am pretty sure, but can't see why)

  054e68aae050 ("ACPI: Replace irqdomain.h include with struct declarations")

I have applied the following patch for today (and it could be applied
to the pm tree).

From: Stephen Rothwell <[email-masked]>
Date: Mon, 3 Apr 2023 10:59:16 +1000
Subject: [PATCH] pata_macio: fixup for "ACPI: Replace irqdomain.h include with struct declarations"

Signed-off-by: Stephen Rothwell <[email-masked]>
---
 drivers/ata/pata_macio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ata/pata_macio.c b/drivers/ata/pata_macio.c
index 9ccaac9e2bc3..6aa4558d88e6 100644
--- a/drivers/ata/pata_macio.c
+++ b/drivers/ata/pata_macio.c
@@ -24,6 +24,7 @@
 #include <linux/of.h>
 #include <linux/gfp.h>
 #include <linux/pci.h>
+#include <linux/irqdomain.h>
 
 #include <scsi/scsi.h>
 #include <scsi/scsi_host.h>
-- 
2.39.2

-- 
Cheers,
Stephen Rothwell