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: ds1672, max6900, max8998: Add MODULE_DEVICE_TABLE
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
rtc
/
rtc-max8998.c
diff --git
a/drivers/rtc/rtc-max8998.c
b/drivers/rtc/rtc-max8998.c
index 5726ef7bd56ecd3e42f123604d818fb6dbeb8b2d..30804b00985e5f84770189a68eacad9854bea335 100644
(file)
--- a/
drivers/rtc/rtc-max8998.c
+++ b/
drivers/rtc/rtc-max8998.c
@@
-309,6
+309,7
@@
static const struct platform_device_id max8998_rtc_id[] = {
{ "lp3974-rtc", TYPE_LP3974 },
{ }
};
+MODULE_DEVICE_TABLE(platform, max8998_rtc_id);
static struct platform_driver max8998_rtc_driver = {
.driver = {