git: b277ef3304fa - main - ds3231: fix accidental breakage of !FDT in 1256067c
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Dec 2021 11:51:01 UTC
The branch main has been updated by avg:
URL: https://cgit.FreeBSD.org/src/commit/?id=b277ef3304fa97da041c191b02b2fcfb74378c75
commit b277ef3304fa97da041c191b02b2fcfb74378c75
Author: Andriy Gapon <avg@FreeBSD.org>
AuthorDate: 2021-12-13 11:49:47 +0000
Commit: Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2021-12-13 11:49:47 +0000
ds3231: fix accidental breakage of !FDT in 1256067c
MFC after: 10 days
---
sys/dev/iicbus/ds3231.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sys/dev/iicbus/ds3231.c b/sys/dev/iicbus/ds3231.c
index d4d0c842527e..0e95379da500 100644
--- a/sys/dev/iicbus/ds3231.c
+++ b/sys/dev/iicbus/ds3231.c
@@ -364,8 +364,9 @@ ds3231_probe(device_t dev)
if (ofw_bus_is_compatible(dev, "maxim,ds3231"))
rc = BUS_PROBE_DEFAULT;
else
- rc = BUS_PROBE_NOWILDCARD;
#endif
+ rc = BUS_PROBE_NOWILDCARD;
+
device_set_desc(dev, "Maxim DS3231 RTC");
return (rc);