]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: bd70528: Add MODULE ALIAS to autoload module
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Wed, 23 Oct 2019 11:47:11 +0000 (14:47 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 8 Nov 2019 15:14:09 +0000 (16:14 +0100)
commit5d9c9e3b07a6d598c77c14044535477bf15ffc47
tree76afab5c4208d63acf6ebd45cd4816332003bf33
parentfec7540efe2f03c7e4c193eeb365bdf4c5f8d84e
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: 31eb0c11e6f6 ("rtc: bd70528: Initial support for ROHM bd70528 RTC")
Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/20191023114711.GA13954@localhost.localdomain
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-bd70528.c