2022-10-03 20:43:24

by Stephen Boyd

[permalink] [raw]
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 <[email protected]>
Cc: Shubhrajyoti Datta <[email protected]>
Fixes: c822490f52da ("clk: clocking-wizard: Move clocking-wizard out")
Signed-off-by: Stephen Boyd <[email protected]>
---
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


2022-10-06 05:09:53

by Datta, Shubhrajyoti

[permalink] [raw]
Subject: RE: [PATCH] clk: clocking-wizard: Depend on HAS_IOMEM

[AMD Official Use Only - General]



> -----Original Message-----
> From: Stephen Boyd <[email protected]>
> Sent: Tuesday, October 4, 2022 1:56 AM
> To: Michael Turquette <[email protected]>; Stephen Boyd
> <[email protected]>
> Cc: [email protected]; [email protected];
> [email protected]; kernel test robot <[email protected]>; Shubhrajyoti
> Datta <[email protected]>
> Subject: [PATCH] clk: clocking-wizard: Depend on HAS_IOMEM
>
> CAUTION: This message has originated from an External Source. Please use
> proper judgment and caution when opening attachments, clicking links, or
> responding to this email.
>
>
> This driver uses devm_platform_ioremap_resource() and thus depends on
> HAS_IOMEM. Add the Kconfig dependency to avoid build issues.
>
Acked-by: Shubhrajyoti Datta <[email protected]>