diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-08-27 07:52:02 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-05 13:37:22 -0400 |
commit | 73798d5c41fdb434ccbeeec76afc8106869a98c3 (patch) | |
tree | 241e3a8e2c804469374eecc840bcb45bf30db76d /drivers/rtc/rtc-moxart.c | |
parent | 63074cc3d4b8367aa6d9dc5520b88ca6557d32fa (diff) |
rtc: Fix module autoload for OF platform drivers
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>
Diffstat (limited to 'drivers/rtc/rtc-moxart.c')
-rw-r--r-- | drivers/rtc/rtc-moxart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-moxart.c b/drivers/rtc/rtc-moxart.c index 73759c9a4527..07b30a373a92 100644 --- a/drivers/rtc/rtc-moxart.c +++ b/drivers/rtc/rtc-moxart.c | |||
@@ -312,6 +312,7 @@ static const struct of_device_id moxart_rtc_match[] = { | |||
312 | { .compatible = "moxa,moxart-rtc" }, | 312 | { .compatible = "moxa,moxart-rtc" }, |
313 | { }, | 313 | { }, |
314 | }; | 314 | }; |
315 | MODULE_DEVICE_TABLE(of, moxart_rtc_match); | ||
315 | 316 | ||
316 | static struct platform_driver moxart_rtc_driver = { | 317 | static struct platform_driver moxart_rtc_driver = { |
317 | .probe = moxart_rtc_probe, | 318 | .probe = moxart_rtc_probe, |