]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
rtc: ds1307: Add m41t0 to OF device ID table
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 8 Apr 2017 15:22:02 +0000 (17:22 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 14 Apr 2017 10:08:53 +0000 (12:08 +0200)
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

index e29481391496f6f738e4c4ab0cf432ab6817fd71..77339b3d50a1e8a9f921afa54340a30373e3d00b 100644 (file)
@@ -226,6 +226,10 @@ static const struct of_device_id ds1307_of_match[] = {
                .compatible = "maxim,ds3231",
                .data = (void *)ds_3231
        },
+       {
+               .compatible = "st,m41t0",
+               .data = (void *)m41t00
+       },
        {
                .compatible = "st,m41t00",
                .data = (void *)m41t00