Skip to contentSkip to conversation

clk: clocking-wizard: Depend on HAS_IOMEM

PATCH In review Stephen Boyd 2 participants 2 messages Oct 3, 2022 – Oct 6, 2022

Subsystems (2)
lore
Share & tools
lore

Stephen Boyd

author maintainer
#0 lore raw

PATCH 1/1 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.

Cc Shubhrajyoti Datta <[email protected]>
Fixes c822490f52da ("clk: clocking-wizard: Move clocking-wizard out")
---
 drivers/clk/xilinx/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/xilinx/Kconfig +1 -0
index 5b99ecfd2f06..f205522c40ff 100644
@@ -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

Signature · 2 lines
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git
Acked-by on v1 1/1
#1 lore raw

[AMD Official Use Only - General]

Quoted 10 lines

-----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

Quoted 8 lines

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.