From: Alexandre Belloni Date: Sat, 8 Apr 2017 15:22:02 +0000 (+0200) Subject: rtc: ds1307: Add m41t0 to OF device ID table X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db2f814194eb5898b6e0a2de9700ef204f4d040f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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 @@ -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