aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2021-11-05 14:46:50 +0100
committerTom Rini <trini@konsulko.com>2021-11-11 19:02:44 -0500
commit6f84e809d9a373961d34f5b408bf44702b8c978c (patch)
tree49114762efa8154f2a2f75d8718cf650e7f0fc09
parentf01081d8f7560d360f9745d907e4215e356ecd73 (diff)
downloadu-boot-6f84e809d9a373961d34f5b408bf44702b8c978c.zip
u-boot-6f84e809d9a373961d34f5b408bf44702b8c978c.tar.gz
u-boot-6f84e809d9a373961d34f5b408bf44702b8c978c.tar.bz2
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>
-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 4986c96..486c01f 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" },
{ }
};