Browse Source

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>
Clemens Gruber 2 years ago
parent
commit
6f84e809d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/rtc/ds1337.c

+ 1 - 1
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" },
 	{ }
 };