Re: [PATCHv2] clk: thead: allow COMPILE_TEST builds

Drew Fustini <[email protected]>
Newsgroups dev.linux.lists.llvm,org.kernel.vger.linux-clk,org.kernel.vger.linux-kernel
Message-ID <alczxxLUf11F97t8@x1>
On Thu, Jul 09, 2026 at 08:05:40AM -0400, Brian Masney wrote:
> Hey Drew,
> 
> On Thu, Jul 9, 2026 at 2:30 AM Drew Fustini <[email protected]> wrote:
> > On Tue, Jul 07, 2026 at 10:57:51AM -0400, Brian Masney wrote:
> > > On Mon, Jul 06, 2026 at 05:56:19PM -0700, Rosen Penev wrote:
> > > > Follow the pattern of many other directories in this Makefile (sunxi-ng,
> > > > tenstorrent, ti, etc.) by using obj-y. This allows COMPILE_TEST to
> > > > select the driver without having CONFIG_ARCH_THEAD enabled
> > > >
> > > > Tested with:
> > > > make LLVM=1 ARCH=loongarch drivers/clk/thead/
> > > >
> > > > Assisted-by: Codex:GPT-5.5
> > > > Signed-off-by: Rosen Penev <[email protected]>
> > >
> > > Reviewed-by: Brian Masney <[email protected]>
> >
> > This doesn't apply to 7.2-rc or next for me due to the surrounding
> > context, but I agree with the change itself.
> >
> > Acked-by: Drew Fustini <[email protected]>
> >
> > Brian - do you think this should be routed through my thead-clk tree or
> > go through the main clk tree?
> 
> It'd be great if you could pick this up through the thead-clk tree.
> 
> Brian

I have applied this thead-clk-for-next:

https://git.kernel.org/pub/scm/linux/kernel/git/fustini/linux.git/commit/?id=b2ee00d0bf4cca5dd02702fc339d2b523191966f

If not problems in next, thne I'll create a v7.3 pull request for
thead-clk.

Thanks,
Drew
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.