Skip to contentSkip to conversation

clk: imx: imx8: build base support for scu clk

PATCH In review Arnd Bergmann 4 participants 4 messages Oct 9, 2023 – Oct 10, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: imx: imx8: build base support for scu clk

From: Arnd Bergmann <[email protected]>

There is now a dependency on a function from the clk.c file, so this also needs to be built:

aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe':
clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws'

Fixes d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver")
---
 drivers/clk/imx/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/imx/Kconfig +1 -0
index db3bca5f4ec9c..c6d3fda330341 100644
@@ -6,6 +6,7 @@ config MXC_CLK
 
 config MXC_CLK_SCU
 	tristate
+	select MXC_CLK
 
 config CLK_IMX1
 	def_bool SOC_IMX1
Signature · 1 line
2.39.2
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines

Subject: [PATCH] clk: imx: imx8: build base support for scu clk

From: Arnd Bergmann <[email protected]>

There is now a dependency on a function from the clk.c file, so this also needs to be built:

Quoted 8 lines

aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe':
clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws'

Fixes d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver")
maintainer
#2 lore raw
In reply to Arnd Bergmann

Quoting Arnd Bergmann (2023-10-09 04:44:55)

Quoted 5 lines

From: Arnd Bergmann <[email protected]>

There is now a dependency on a function from the clk.c file, so this also needs to be built:

Quoted 8 lines

aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe':
clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws'

Fixes d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver")

---

Is this another https://lore.kernel.org/r/[email protected]

#3 lore raw
Quoted 11 lines · Stephen Boyd

Quoting Arnd Bergmann (2023-10-09 04:44:55)

Quoted 10 lines

From: Arnd Bergmann <[email protected]>

There is now a dependency on a function from the clk.c file, so this also needs to be built:

aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: drivers/clk/imx/clk-imx8-acm.o: in function `imx8_acm_clk_probe':
clk-imx8-acm.c:(.text+0xbf0): undefined reference to `imx_check_clk_hws'

Quoted 6 lines
Quoted 3 lines
Fixes d3a0946d7ac9a ("clk: imx: imx8: add audio clock mux driver")

---

Is this another
https://lore.kernel.org/r/[email protected]

I think that's correct and my patch is not needed any more now. It looks like it was already obsolete when I sent it, but I can't find out why that is. I'll let you know if it comes back.

Arnd