Re: [PATCH] clk: ep93xx: add module license

From: Alexander Sverdlin
Date: Wed Sep 11 2024 - 08:44:52 EST


Hi Arnd!

On Wed, 2024-09-11 at 12:18 +0000, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> When configured as a lodable module, this driver produces
> a build time warning:
>
> ERROR: modpost: missing MODULE_LICENSE() in drivers/clk/clk-ep93xx.o
>
> All all three tags for license, author and description based
> on the header.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx>

> ---
>  drivers/clk/clk-ep93xx.c | 4 ++++
>  1 file changed, 4 insertions(+)
>
> I had to add this to get a clean build with the ep93xx
> series.
>
> diff --git a/drivers/clk/clk-ep93xx.c b/drivers/clk/clk-ep93xx.c
> index 4727c06a59ba..26317623d9d5 100644
> --- a/drivers/clk/clk-ep93xx.c
> +++ b/drivers/clk/clk-ep93xx.c
> @@ -844,3 +844,7 @@ static struct auxiliary_driver ep93xx_clk_driver = {
>   .id_table = ep93xx_clk_ids,
>  };
>  module_auxiliary_driver(ep93xx_clk_driver);
> +
> +MODULE_LICENSE("GPL");
> +MODULE_AUTHOR("Nikita Shubin <nikita.shubin@xxxxxxxxxxx>");
> +MODULE_DESCRIPTION("Clock control for Cirrus EP93xx chips");

--
Alexander Sverdlin.