rtc: Fix module autoload for OF platform drivers
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 27 Aug 2015 11:52:02 +0000 (13:52 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 17:37:22 +0000 (19:37 +0200)
These platform drivers have a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-armada38x.c
drivers/rtc/rtc-coh901331.c
drivers/rtc/rtc-da9063.c
drivers/rtc/rtc-moxart.c
drivers/rtc/rtc-mpc5121.c
drivers/rtc/rtc-mt6397.c
drivers/rtc/rtc-mv.c
drivers/rtc/rtc-vt8500.c

index 06c6bd5..9a3f2a6 100644 (file)
@@ -295,6 +295,7 @@ static const struct of_device_id armada38x_rtc_of_match_table[] = {
        { .compatible = "marvell,armada-380-rtc", },
        {}
 };
+MODULE_DEVICE_TABLE(of, armada38x_rtc_of_match_table);
 #endif
 
 static struct platform_driver armada38x_rtc_driver = {
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge