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-vt8500.c
diff --git
a/drivers/rtc/rtc-vt8500.c
b/drivers/rtc/rtc-vt8500.c
index a58b6d17e6f074926c2437a44b3533a5fecfab17..27e896995e9b30e966b49a4794257f8b5da098a6 100644
(file)
--- a/
drivers/rtc/rtc-vt8500.c
+++ b/
drivers/rtc/rtc-vt8500.c
@@
-271,6
+271,7
@@
static const struct of_device_id wmt_dt_ids[] = {
{ .compatible = "via,vt8500-rtc", },
{}
};
+MODULE_DEVICE_TABLE(of, wmt_dt_ids);
static struct platform_driver vt8500_rtc_driver = {
.probe = vt8500_rtc_probe,