watchdog: rzv2h_wdt: Add missing MODULE_LICENSE tag to fix modpost error
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Wed, 11 Sep 2024 13:20:31 +0000 (14:20 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 17 Sep 2024 11:41:28 +0000 (13:41 +0200)
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>
Link: https://lore.kernel.org/r/20240911132031.544479-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/rzv2h_wdt.c

index 2da7a631fb2afb9f2347ab3c44b9478342cc1abb..1d1b17312747732f2170f3c734cda6fa1b97b07a 100644 (file)
@@ -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");