diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-04-08 17:22:02 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-04-14 12:08:53 +0200 |
commit | db2f814194eb5898b6e0a2de9700ef204f4d040f (patch) | |
tree | a9b205d257f41d7d97203d2e87e310160ca5b197 | |
parent | 8566f70c8a90f3914b06e934852596ba94aaa381 (diff) | |
download | linux-stable-db2f814194eb5898b6e0a2de9700ef204f4d040f.tar.gz linux-stable-db2f814194eb5898b6e0a2de9700ef204f4d040f.tar.bz2 linux-stable-db2f814194eb5898b6e0a2de9700ef204f4d040f.zip |
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>
-rw-r--r-- | drivers/rtc/rtc-ds1307.c | 4 |
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 }, |