Re: [PATCH] clk: davinci: guard da850-specific init data references
David Lechner <[email protected]>
| Newsgroups | org.kernel.vger.linux-clk,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 8/11/26 2:08 PM, Rosen Penev wrote: > With COMPILE_TEST support, COMMON_CLK_DAVINCI can be enabled on > architectures without DaVinci support, where COMMON_CLK_DAVINCI_DA850 > is not set. pll.c and psc.c unconditionally reference da850 init > functions and init data that are only built with the DA850 option, > resulting in undefined reference link errors. > > Guard the da850 entries in the match tables and the CLK_OF_DECLARE > with CONFIG_COMMON_CLK_DAVINCI_DA850. > > Reported-by: kernel test robot <[email protected]> > Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ > Fixes: 34aeb6853fe2 ("clk: davinci: add COMPILE_TEST support") I don't think this patch was ever accepted, so you just need to send a v3 of that patch. Plus I left a comment on v2 that was never addressed.