projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtc: Fix module autoload for OF platform drivers
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
rtc
/
rtc-moxart.c
diff --git
a/drivers/rtc/rtc-moxart.c
b/drivers/rtc/rtc-moxart.c
index 73759c9a4527aeb1cce098be6d1b7f48f47af55a..07b30a373a929f2e5391cc8f04efb5c3613789d5 100644
(file)
--- 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[] = {
{ .compatible = "moxa,moxart-rtc" },
{ },
};
+MODULE_DEVICE_TABLE(of, moxart_rtc_match);
static struct platform_driver moxart_rtc_driver = {
.probe = moxart_rtc_probe,