Skip to contentSkip to conversation

clk: sunxi: ccu-sun5i needs nkmp

PATCH Applied Arnd Bergmann 2 participants 4 messages Feb 14, 2017 – Mar 20, 2017

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

PATCH 1/1 clk: sunxi: ccu-sun5i needs nkmp

A randconfig build ran into this rare link error:

drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.1+0x4): undefined reference to ccu_nkmp_ops' drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.7+0x4): undefined reference to ccu_nkmp_ops'

This adds the missing 'select'.

Fixes 5e73761786d6 ("clk: sunxi-ng: Add sun5i CCU driver")
---
 drivers/clk/sunxi-ng/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/clk/sunxi-ng/Kconfig +1 -0
index 695bbf9ef428..b6e2aa5d0246 100644
@@ -70,6 +70,7 @@ config SUN5I_CCU
 	select SUNXI_CCU_MULT
 	select SUNXI_CCU_NK
 	select SUNXI_CCU_NKM
+	select SUNXI_CCU_NKMP
 	select SUNXI_CCU_NM
 	select SUNXI_CCU_MP
 	select SUNXI_CCU_PHASE
Signature · 1 line
2.9.0
#1 lore raw
Quoted 9 lines · Arnd Bergmann

A randconfig build ran into this rare link error:

drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.1+0x4): undefined reference to ccu_nkmp_ops' drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.7+0x4): undefined reference to ccu_nkmp_ops'

This adds the missing 'select'.

Fixes 5e73761786d6 ("clk: sunxi-ng: Add sun5i CCU driver")

Queued as a fix for 4.11, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170216/df7755f6/attachment-0001.sig>
#2 lore raw
Quoted 6 lines · Maxime Ripard
Quoted 5 lines · Arnd Bergmann

A randconfig build ran into this rare link error:

drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.1+0x4): undefined reference to ccu_nkmp_ops' drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.7+0x4): undefined reference to ccu_nkmp_ops'

Quoted 6 lines
Quoted 4 lines

This adds the missing 'select'.

Fixes 5e73761786d6 ("clk: sunxi-ng: Add sun5i CCU driver")

Queued as a fix for 4.11, thanks!

I just checked my old patches and this seems to still be required as of 4.11-rc2. I see it in linux-next through sunxi/sunxi/for-next, but not as part of a clk-fixes merge.

Arnd

#3 lore raw

Hi Arnd,

Quoted 10 lines · Arnd Bergmann
Quoted 8 lines · Maxime Ripard
Quoted 7 lines · Arnd Bergmann

A randconfig build ran into this rare link error:

drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.1+0x4): undefined reference to ccu_nkmp_ops' drivers/clk/sunxi-ng/ccu-sun5i.o:(.data.__compound_literal.7+0x4): undefined reference to ccu_nkmp_ops'

This adds the missing 'select'.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Fixes 5e73761786d6 ("clk: sunxi-ng: Add sun5i CCU driver")

Queued as a fix for 4.11, thanks!

I just checked my old patches and this seems to still be required as of 4.11-rc2. I see it in linux-next through sunxi/sunxi/for-next, but not as part of a clk-fixes merge.

Sorry, I went to holidays without sending the PR. I just did, hopefully, it should be on Linus' way for the next rc.

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170320/8904798f/attachment.sig>