drivers/clk/clk-ep93xx.c | 4 ++++ 1 file changed, 4 insertions(+)
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
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.
© 2016 - 2026 Red Hat, Inc.