diff options
author | Trent Piepho <tpiepho@kymetacorp.com> | 2016-05-19 23:37:38 +0000 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-05-23 08:29:46 +0200 |
commit | a2f8644d717add9031a0929bb5fb0d9e0de59f7b (patch) | |
tree | 6792e0c3ea760438bac34c1048c87df393e36af4 /drivers/rtc | |
parent | adfc28f9044c79396c899e45fe577f80233a9d88 (diff) | |
download | barebox-a2f8644d717add9031a0929bb5fb0d9e0de59f7b.tar.gz barebox-a2f8644d717add9031a0929bb5fb0d9e0de59f7b.tar.xz |
rtc: ds1307: Add ds1308 to driver's ID list
As far as the driver is concerned, it's the same as a 1338. It's too
bad the i2c drivers can't make use of OF compatible properties with a
list of compatible devices.
Signed-off-by: Trent Piepho <tpiepho@kymetacorp.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/rtc-ds1307.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c index 726586af4a..ca630ea971 100644 --- a/drivers/rtc/rtc-ds1307.c +++ b/drivers/rtc/rtc-ds1307.c @@ -106,6 +106,7 @@ struct ds1307 { static struct platform_device_id ds1307_id[] = { { "ds1307", ds_1307 }, { "ds1337", ds_1337 }, + { "ds1308", ds_1338 }, /* Difference 1308 to 1338 irrelevant */ { "ds1338", ds_1338 }, { "ds1341", ds_1341 }, { "pt7c4338", ds_1307 }, |