[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220630111008.3838307-1-jamie@jamieiles.com>
Date:   Thu, 30 Jun 2022 12:10:08 +0100
From:   Jamie Iles <jamie@...ieiles.com>
To:     maz@...nel.org
Cc:     michal.simek@....com, linux-kernel@...r.kernel.org,
        Jamie Iles <jamie@...ieiles.com>,
        kernel test robot <lkp@...el.com>
Subject: [PATCH] irqchip/xilinx: add explicit dependency on OF_ADDRESS
Commit b84dc7f0e364 ("irqchip/xilinx: Remove microblaze+zynq
dependency") relaxed the dependencies on the Xilinx interrupt controller
to be OF only, but some OF architectures (s390 for example) do not
support OF_ADDRESS and so a build of the driver will result in undefined
references to of_iomap/iounmap and friends.
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Jamie Iles <jamie@...ieiles.com>
---
 drivers/irqchip/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 1f23a6be7d88..bbb11cb8b0f7 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -298,7 +298,7 @@ config XTENSA_MX
 
 config XILINX_INTC
 	bool "Xilinx Interrupt Controller IP"
-	depends on OF
+	depends on OF_ADDRESS
 	select IRQ_DOMAIN
 	help
 	  Support for the Xilinx Interrupt Controller IP core.
-- 
2.34.1
Powered by blists - more mailing lists