Message ID | 20191213214802.22268-1-andreas@kemnade.info (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | watchdog: rn5t618_wdt: fix module aliases | expand |
On Fri, Dec 13, 2019 at 10:48:02PM +0100, Andreas Kemnade wrote: > 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> > --- > drivers/watchdog/rn5t618_wdt.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/watchdog/rn5t618_wdt.c b/drivers/watchdog/rn5t618_wdt.c > index 234876047431..6e524c8e26a8 100644 > --- a/drivers/watchdog/rn5t618_wdt.c > +++ b/drivers/watchdog/rn5t618_wdt.c > @@ -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"); > -- > 2.20.1 >
diff --git a/drivers/watchdog/rn5t618_wdt.c b/drivers/watchdog/rn5t618_wdt.c index 234876047431..6e524c8e26a8 100644 --- a/drivers/watchdog/rn5t618_wdt.c +++ b/drivers/watchdog/rn5t618_wdt.c @@ -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");
Platform device aliases were missing so module autoloading did not work. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> --- drivers/watchdog/rn5t618_wdt.c | 1 + 1 file changed, 1 insertion(+)