Skip to contentSkip to conversation

clk: ep93xx: add module license

PATCH In review Arnd Bergmann 2 participants 2 messages Sep 11, 2024 Common clk

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: ep93xx: add module license

From: Arnd Bergmann <[email protected]>

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.

---
 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.

drivers/clk/clk-ep93xx.c +4 -0
index 4727c06a59ba..26317623d9d5 100644
@@ -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 <[email protected]>");
+MODULE_DESCRIPTION("Clock control for Cirrus EP93xx chips");
Signature · 1 line
2.39.2
Acked-by on v1 1/1
#1 lore raw

Hi Arnd!

Quoted 11 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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.

Quoted 19 lines

---
 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.

drivers/clk/clk-ep93xx.c +4 -0
index 4727c06a59ba..26317623d9d5 100644
@@ -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 <[email protected]>");
+MODULE_DESCRIPTION("Clock control for Cirrus EP93xx chips");
Signature · 1 line
Alexander Sverdlin.