summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-04-08 11:22:02 -0400
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-04-14 06:08:53 -0400
commitdb2f814194eb5898b6e0a2de9700ef204f4d040f (patch)
treea9b205d257f41d7d97203d2e87e310160ca5b197 /drivers/rtc
parent8566f70c8a90f3914b06e934852596ba94aaa381 (diff)
rtc: ds1307: Add m41t0 to OF device ID table
m41t0 was added to the I2C device ID table but not the OF table. Fix that. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-ds1307.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c
index e29481391496..77339b3d50a1 100644
--- a/drivers/rtc/rtc-ds1307.c
+++ b/drivers/rtc/rtc-ds1307.c
@@ -227,6 +227,10 @@ static const struct of_device_id ds1307_of_match[] = {
227 .data = (void *)ds_3231 227 .data = (void *)ds_3231
228 }, 228 },
229 { 229 {
230 .compatible = "st,m41t0",
231 .data = (void *)m41t00
232 },
233 {
230 .compatible = "st,m41t00", 234 .compatible = "st,m41t00",
231 .data = (void *)m41t00 235 .data = (void *)m41t00
232 }, 236 },