[PATCH] clk: spacemit: Fix module build for spacemit common ccu driver

Yixun Lan dlan at gentoo.org
Mon Dec 15 14:12:02 PST 2025


Hi Inochi,

On 07:29 Mon 15 Dec     , Inochi Amaoto wrote:
> For build spacemit common clock driver as a module, the build
> process require MODULE_LICENSE()/MODULE_DESCRIPTION() globally
> and EXPORT_SYMBOL() for every exposed symbol. Otherwise, the
> build will fail.
> 
> Add these missing hints, so the driver can be built as a module.
> 
> Fixes: 1b72c59db0ad ("clk: spacemit: Add clock support for SpacemiT K1 SoC")
> Signed-off-by: Inochi Amaoto <inochiama at gmail.com>
looks good, thanks

Reviewed-by: Yixun Lan <dlan at gentoo.org>

-- 
Yixun Lan (dlan)



More information about the linux-riscv mailing list