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 16:54:43 -0500
commit833e2b9251340b799b4d507440969686db62c5e6 (patch)
tree49114762efa8154f2a2f75d8718cf650e7f0fc09
parent44322bbe57c47b772fc18e4565f3106647e1c57a (diff)
downloadu-boot-WIP/2021-11-11-assorted-updates.zip
u-boot-WIP/2021-11-11-assorted-updates.tar.gz
u-boot-WIP/2021-11-11-assorted-updates.tar.bz2
rtc: ds1337: fix compatible string typoWIP/2021-11-11-assorted-updates
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" },
{ }
};