[PATCH] clk: ep93xx: add module license
From: Arnd Bergmann
Date: Wed Sep 11 2024 - 08:19:37 EST
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>
---
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");
--
2.39.2