[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221003202608.2611295-1-sboyd@kernel.org>
Date: Mon, 3 Oct 2022 13:26:08 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
patches@...ts.linux.dev, kernel test robot <lkp@...el.com>,
Shubhrajyoti Datta <shubhrajyoti.datta@...inx.com>
Subject: [PATCH] clk: clocking-wizard: Depend on HAS_IOMEM
This driver uses devm_platform_ioremap_resource() and thus depends on
HAS_IOMEM. Add the Kconfig dependency to avoid build issues.
Reported-by: kernel test robot <lkp@...el.com>
Cc: Shubhrajyoti Datta <shubhrajyoti.datta@...inx.com>
Fixes: c822490f52da ("clk: clocking-wizard: Move clocking-wizard out")
Signed-off-by: Stephen Boyd <sboyd@...nel.org>
---
drivers/clk/xilinx/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/xilinx/Kconfig b/drivers/clk/xilinx/Kconfig
index 5b99ecfd2f06..f205522c40ff 100644
--- a/drivers/clk/xilinx/Kconfig
+++ b/drivers/clk/xilinx/Kconfig
@@ -20,6 +20,7 @@ config XILINX_VCU
config COMMON_CLK_XLNX_CLKWZRD
tristate "Xilinx Clocking Wizard"
depends on COMMON_CLK && OF
+ depends on HAS_IOMEM
help
Support for the Xilinx Clocking Wizard IP core clock generator.
Adds support for clocking wizard and compatible.
base-commit: e8db788d686a2a2e5318364a1942d01c3cc83d87
--
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git
Powered by blists - more mailing lists