Skip to content

Commit

Permalink
rtc: ds1307: Add m41t0 to OF device ID table
Browse files Browse the repository at this point in the history
m41t0 was added to the I2C device ID table but not the OF table. Fix that.

Signed-off-by: Alexandre Belloni <[email protected]>
  • Loading branch information
alexandrebelloni committed Apr 14, 2017
1 parent 8566f70 commit db2f814
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/rtc/rtc-ds1307.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db2f814

Please sign in to comment.