Skip to contentSkip to conversation

watchdog: rn5t618_wdt: fix module aliases

PATCH In review Andreas Kemnade 2 participants 2 messages Dec 13, 2019 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: rn5t618_wdt: fix module aliases

Platform device aliases were missing so module autoloading did not work.

---
 drivers/watchdog/rn5t618_wdt.c | 1 +
 1 file changed, 1 insertion(+)
drivers/watchdog/rn5t618_wdt.c +1 -0
index 234876047431..6e524c8e26a8 100644
@@ -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 <[email protected]>");
 MODULE_DESCRIPTION("RN5T618 watchdog driver");
 MODULE_LICENSE("GPL v2");
Signature · 1 line
2.20.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Andreas Kemnade

Platform device aliases were missing so module autoloading did not work.

Quoted 19 lines
---
 drivers/watchdog/rn5t618_wdt.c | 1 +
 1 file changed, 1 insertion(+)
drivers/watchdog/rn5t618_wdt.c +1 -0
index 234876047431..6e524c8e26a8 100644
@@ -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 <[email protected]>");
 MODULE_DESCRIPTION("RN5T618 watchdog driver");
 MODULE_LICENSE("GPL v2");
Signature · 1 line
2.20.1