git: a50d5a7c1fd8 - stable/14 - ti/am335x: Fix the device_set_descf() call in am335x_dmtimer_probe()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Feb 2025 19:25:34 UTC
The branch stable/14 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=a50d5a7c1fd88c440af50e651478ead62f9beb51
commit a50d5a7c1fd88c440af50e651478ead62f9beb51
Author: Oskar Holmlund <oh@FreeBSD.org>
AuthorDate: 2024-06-24 11:57:25 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-02-14 19:25:19 +0000
ti/am335x: Fix the device_set_descf() call in am335x_dmtimer_probe()
Fixes: 459dc61c8b05 ("arm: Convert drivers to use device_set_desc(f)()")
Reviewed by: markj, imp, manu
Approved by: markj, imp, manu (mentor)
Differential Revision: https://reviews.freebsd.org/D45699
(cherry picked from commit 332f00cdbafa944472a5c2d9d1701466ab762f90)
---
sys/arm/ti/am335x/am335x_dmtimer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/arm/ti/am335x/am335x_dmtimer.c b/sys/arm/ti/am335x/am335x_dmtimer.c
index 341ec07466fc..18f1cd97e13c 100644
--- a/sys/arm/ti/am335x/am335x_dmtimer.c
+++ b/sys/arm/ti/am335x/am335x_dmtimer.c
@@ -276,7 +276,7 @@ am335x_dmtimer_probe(device_t dev)
return (ENXIO);
}
- device_set_descf("AM335x DMTimer%d", tmr_num);
+ device_set_descf(dev, "AM335x DMTimer%d", tmr_num);
return(BUS_PROBE_DEFAULT);
}