mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] clk: ep93xx: add module license
@ 2024-09-11 12:18 Arnd Bergmann
  2024-09-11 12:44 ` Alexander Sverdlin
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2024-09-11 12:18 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: Arnd Bergmann, Nikita Shubin, Alexander Sverdlin, linux-clk,
	linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

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@arndb.de>
---
 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@maquefel.me>");
+MODULE_DESCRIPTION("Clock control for Cirrus EP93xx chips");
-- 
2.39.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] clk: ep93xx: add module license
  2024-09-11 12:18 [PATCH] clk: ep93xx: add module license Arnd Bergmann
@ 2024-09-11 12:44 ` Alexander Sverdlin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Sverdlin @ 2024-09-11 12:44 UTC (permalink / raw)
  To: Arnd Bergmann, Michael Turquette, Stephen Boyd
  Cc: Arnd Bergmann, Nikita Shubin, linux-clk, linux-kernel

Hi Arnd!

On Wed, 2024-09-11 at 12:18 +0000, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> 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@arndb.de>

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

> ---
>  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@maquefel.me>");
> +MODULE_DESCRIPTION("Clock control for Cirrus EP93xx chips");

-- 
Alexander Sverdlin.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-11 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-11 12:18 [PATCH] clk: ep93xx: add module license Arnd Bergmann
2024-09-11 12:44 ` Alexander Sverdlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®