aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorClemens Gruber2021-11-05 14:46:50 +0100
committerTom Rini2021-11-11 19:02:44 -0500
commit6f84e809d9a373961d34f5b408bf44702b8c978c (patch)
tree49114762efa8154f2a2f75d8718cf650e7f0fc09 /drivers/rtc
parentf01081d8f7560d360f9745d907e4215e356ecd73 (diff)
rtc: ds1337: fix compatible string typo
The driver supports the ds1339 as well, which was probably intended by the author but prevented by a typo. Fix the typo. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/ds1337.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/ds1337.c b/drivers/rtc/ds1337.c
index 4986c96f862..486c01f9ba2 100644
--- a/drivers/rtc/ds1337.c
+++ b/drivers/rtc/ds1337.c
@@ -306,7 +306,7 @@ static const struct rtc_ops ds1337_rtc_ops = {
static const struct udevice_id ds1337_rtc_ids[] = {
{ .compatible = "ds1337" },
{ .compatible = "ds1338" },
- { .compatible = "ds1338" },
+ { .compatible = "ds1339" },
{ }
};