watchdog: rn5t618_wdt: fix module aliases
authorAndreas Kemnade <andreas@kemnade.info>
Fri, 13 Dec 2019 21:48:02 +0000 (22:48 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 30 Dec 2019 14:58:29 +0000 (15:58 +0100)
Platform device aliases were missing so module autoloading
did not work.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20191213214802.22268-1-andreas@kemnade.info
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/rn5t618_wdt.c

index 2348760..6e524c8 100644 (file)
@@ -188,6 +188,7 @@ static struct platform_driver rn5t618_wdt_driver = {
 
 module_platform_driver(rn5t618_wdt_driver);
 
+MODULE_ALIAS("platform:rn5t618-wdt");
 MODULE_AUTHOR("Beniamino Galvani <b.galvani@gmail.com>");
 MODULE_DESCRIPTION("RN5T618 watchdog driver");
 MODULE_LICENSE("GPL v2");