Message ID | 20191023114711.GA13954@localhost.localdomain |
---|---|
State | Accepted |
Headers | show |
Series | [1/2] rtc: bd70528: Add MODULE ALIAS to autoload module | expand |
On 23/10/2019 14:47:11+0300, Matti Vaittinen wrote: > The bd70528 RTC driver is probed by MFD driver. Add MODULE_ALIAS > in order to allow udev to load the module when MFD sub-device cell > for RTC is added. > > I'm not sure if this is a bugfix or feature addition but I guess > fixes tag won't harm in this case. > > Fixes: 32a4a4ebf768 ("rtc: bd70528: Initial support for ROHM bd70528 RTC") > Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> > --- > drivers/rtc/rtc-bd70528.c | 1 + > 1 file changed, 1 insertion(+) > Applied, thanks.
diff --git a/drivers/rtc/rtc-bd70528.c b/drivers/rtc/rtc-bd70528.c index f9bdd555e1a2..41fd54b622b1 100644 --- a/drivers/rtc/rtc-bd70528.c +++ b/drivers/rtc/rtc-bd70528.c @@ -498,3 +498,4 @@ module_platform_driver(bd70528_rtc); MODULE_AUTHOR("Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>"); MODULE_DESCRIPTION("BD70528 RTC driver"); MODULE_LICENSE("GPL"); +MODULE_ALIAS("platofrm:bd70528-rtc");
The bd70528 RTC driver is probed by MFD driver. Add MODULE_ALIAS in order to allow udev to load the module when MFD sub-device cell for RTC is added. I'm not sure if this is a bugfix or feature addition but I guess fixes tag won't harm in this case. Fixes: 32a4a4ebf768 ("rtc: bd70528: Initial support for ROHM bd70528 RTC") Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> --- drivers/rtc/rtc-bd70528.c | 1 + 1 file changed, 1 insertion(+)