[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-rtc
Subject: [PATCH] rtc: ds1307: Add m41t0 to OF device ID table
From: Alexandre Belloni <alexandre.belloni () free-electrons ! com>
Date: 2017-04-08 21:54:53
Message-ID: 20170408215453.21987-1-alexandre.belloni () free-electrons ! com
[Download RAW message or body]
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>
---
drivers/rtc/rtc-ds1307.c | 4 ++++
1 file changed, 4 insertions(+)
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
},
--
2.11.0
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" \
group. To unsubscribe from this group and stop receiving emails from it, send an \
email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit \
https://groups.google.com/d/optout.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic