drivers/watchdog/rzv2h_wdt.c | 1 + 1 file changed, 1 insertion(+)
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Add the missing `MODULE_LICENSE()` tag to the `rzv2h_wdt` driver, which
resolves the following modpost error when built as a module:
ERROR: modpost: missing MODULE_LICENSE() in drivers/watchdog/rzv2h_wdt.o
Fixes: f6febd0a30b6 ("watchdog: Add Watchdog Timer driver for RZ/V2H(P)")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
Hi Wim,
As `rzv2h_wdt.c` still not in -next maybe we can merge this patch in
original commit in the watchdog tree?
Cheers,
Prabhakar
---
drivers/watchdog/rzv2h_wdt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/watchdog/rzv2h_wdt.c b/drivers/watchdog/rzv2h_wdt.c
index 2da7a631fb2a..1d1b17312747 100644
--- a/drivers/watchdog/rzv2h_wdt.c
+++ b/drivers/watchdog/rzv2h_wdt.c
@@ -270,3 +270,4 @@ static struct platform_driver rzv2h_wdt_driver = {
module_platform_driver(rzv2h_wdt_driver);
MODULE_AUTHOR("Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>");
MODULE_DESCRIPTION("Renesas RZ/V2H(P) WDT Watchdog Driver");
+MODULE_LICENSE("GPL");
--
2.34.1
On 9/11/24 06:20, Prabhakar wrote: > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> > > Add the missing `MODULE_LICENSE()` tag to the `rzv2h_wdt` driver, which > resolves the following modpost error when built as a module: > > ERROR: modpost: missing MODULE_LICENSE() in drivers/watchdog/rzv2h_wdt.o > > Fixes: f6febd0a30b6 ("watchdog: Add Watchdog Timer driver for RZ/V2H(P)") > Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> > --- > Hi Wim, > > As `rzv2h_wdt.c` still not in -next maybe we can merge this patch in > original commit in the watchdog tree? > > Cheers, > Prabhakar > --- > drivers/watchdog/rzv2h_wdt.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/watchdog/rzv2h_wdt.c b/drivers/watchdog/rzv2h_wdt.c > index 2da7a631fb2a..1d1b17312747 100644 > --- a/drivers/watchdog/rzv2h_wdt.c > +++ b/drivers/watchdog/rzv2h_wdt.c > @@ -270,3 +270,4 @@ static struct platform_driver rzv2h_wdt_driver = { > module_platform_driver(rzv2h_wdt_driver); > MODULE_AUTHOR("Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>"); > MODULE_DESCRIPTION("Renesas RZ/V2H(P) WDT Watchdog Driver"); > +MODULE_LICENSE("GPL");
© 2016 - 2024 Red Hat, Inc.