Skip to contentSkip to conversation

rtc: bd70528: Add MODULE ALIAS to autoload module

PATCH Applied Matti Vaittinen 2 participants 2 messages Oct 23, 2019 – Nov 5, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 rtc: bd70528: Add MODULE ALIAS to autoload module

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")
---
 drivers/rtc/rtc-bd70528.c | 1 +
 1 file changed, 1 insertion(+)
drivers/rtc/rtc-bd70528.c +1 -0
index f9bdd555e1a2..41fd54b622b1 100644
@@ -498,3 +498,4 @@ module_platform_driver(bd70528_rtc);
 MODULE_AUTHOR("Matti Vaittinen <[email protected]>");
 MODULE_DESCRIPTION("BD70528 RTC driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platofrm:bd70528-rtc");
Signature · 14 lines
2.21.0


-- 
Matti Vaittinen, Linux device drivers
ROHM Semiconductors, Finland SWDC
Kiviharjunlenkki 1E
90220 OULU
FINLAND

~~~ "I don't think so," said Rene Descartes. Just then he vanished ~~~
Simon says - in Latin please.
~~~ "non cogito me" dixit Rene Descarte, deinde evanescavit ~~~
Thanks to Simon Glass for the translation =] 
maintainer Applied
#1 lore raw
Quoted 4 lines · Matti Vaittinen

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.

Quoted 9 lines

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")
---
 drivers/rtc/rtc-bd70528.c | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Signature · 3 lines
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com