public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: keystone: fix compile testing
@ 2025-11-27 13:53 Johan Hovold
  2025-11-30 20:06 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Johan Hovold @ 2025-11-27 13:53 UTC (permalink / raw)
  To: Stephen Boyd; +Cc: Michael Turquette, linux-clk, linux-kernel, Johan Hovold

Some keystone clock drivers can be selected when COMPILE_TEST is
enabled but since commit b745c0794e2f ("clk: keystone: Add sci-clk
driver support") they are never actually built.

Enable compile testing by allowing the build system to process the
keystone drivers.

Fixes: b745c0794e2f ("clk: keystone: Add sci-clk driver support")
Signed-off-by: Johan Hovold <johan@kernel.org>
---
 drivers/clk/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
index b74a1767ca27..61ec08404442 100644
--- a/drivers/clk/Makefile
+++ b/drivers/clk/Makefile
@@ -125,8 +125,7 @@ obj-$(CONFIG_ARCH_HISI)			+= hisilicon/
 obj-y					+= imgtec/
 obj-y					+= imx/
 obj-y					+= ingenic/
-obj-$(CONFIG_ARCH_K3)			+= keystone/
-obj-$(CONFIG_ARCH_KEYSTONE)		+= keystone/
+obj-y					+= keystone/
 obj-y					+= mediatek/
 obj-$(CONFIG_ARCH_MESON)		+= meson/
 obj-y					+= microchip/
-- 
2.51.2


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

* Re: [PATCH] clk: keystone: fix compile testing
  2025-11-27 13:53 [PATCH] clk: keystone: fix compile testing Johan Hovold
@ 2025-11-30 20:06 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2025-11-30 20:06 UTC (permalink / raw)
  To: Johan Hovold; +Cc: Michael Turquette, linux-clk, linux-kernel, Johan Hovold

Quoting Johan Hovold (2025-11-27 05:53:25)
> Some keystone clock drivers can be selected when COMPILE_TEST is
> enabled but since commit b745c0794e2f ("clk: keystone: Add sci-clk
> driver support") they are never actually built.
> 
> Enable compile testing by allowing the build system to process the
> keystone drivers.
> 
> Fixes: b745c0794e2f ("clk: keystone: Add sci-clk driver support")
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---

Applied to clk-next

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

end of thread, other threads:[~2025-11-30 20:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-27 13:53 [PATCH] clk: keystone: fix compile testing Johan Hovold
2025-11-30 20:06 ` Stephen Boyd

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