[PATCH] clk: spacemit: Fix module build for spacemit common ccu driver
Troy Mitchell
troy.mitchell at linux.spacemit.com
Sun Dec 14 18:54:42 PST 2025
On Mon, Dec 15, 2025 at 07:29:37AM +0800, 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>
Thanks.
Acked-by: Troy Mitchell <troy.mitchell at linux.spacemit.com>
More information about the linux-riscv
mailing list