]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rtc: ds1337: fix compatible string typo
authorClemens Gruber <clemens.gruber@pqgruber.com>
Fri, 5 Nov 2021 13:46:50 +0000 (14:46 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 12 Nov 2021 00:02:44 +0000 (19:02 -0500)
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>
drivers/rtc/ds1337.c

index 4986c96f8623964e1f71c6b0db183a130c7acaf8..486c01f9ba20d8d5d1e609520a7f598540bc4fe4 100644 (file)
@@ -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" },
        { }
 };