public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: clocking-wizard: Depend on HAS_IOMEM
@ 2022-10-03 20:26 Stephen Boyd
  2022-10-06  4:19 ` Datta, Shubhrajyoti
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Boyd @ 2022-10-03 20:26 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: linux-kernel, linux-clk, patches, kernel test robot,
	Shubhrajyoti Datta

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@intel.com>
Cc: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Fixes: c822490f52da ("clk: clocking-wizard: Move clocking-wizard out")
Signed-off-by: Stephen Boyd <sboyd@kernel.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] clk: clocking-wizard: Depend on HAS_IOMEM
  2022-10-03 20:26 [PATCH] clk: clocking-wizard: Depend on HAS_IOMEM Stephen Boyd
@ 2022-10-06  4:19 ` Datta, Shubhrajyoti
  0 siblings, 0 replies; 2+ messages in thread
From: Datta, Shubhrajyoti @ 2022-10-06  4:19 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette
  Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
	patches@lists.linux.dev, kernel test robot, Shubhrajyoti Datta

[AMD Official Use Only - General]



> -----Original Message-----
> From: Stephen Boyd <sboyd@kernel.org>
> Sent: Tuesday, October 4, 2022 1:56 AM
> To: Michael Turquette <mturquette@baylibre.com>; Stephen Boyd
> <sboyd@kernel.org>
> Cc: linux-kernel@vger.kernel.org; linux-clk@vger.kernel.org;
> patches@lists.linux.dev; kernel test robot <lkp@intel.com>; Shubhrajyoti
> Datta <shubhrajyoti.datta@xilinx.com>
> 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 <shubhrajyoti.datta@amd.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-06  4:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-03 20:26 [PATCH] clk: clocking-wizard: Depend on HAS_IOMEM Stephen Boyd
2022-10-06  4:19 ` Datta, Shubhrajyoti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox