summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-04-08 17:22:02 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-04-14 12:08:53 +0200
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[] = {
.data = (void *)ds_3231
},
{
+ .compatible = "st,m41t0",
+ .data = (void *)m41t00
+ },
+ {
.compatible = "st,m41t00",
.data = (void *)m41t00
},