git: 2faee677d518 - stable/14 - ti/am335x: Fix the device_set_descf() call in dmtpps_probe()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Jun 2024 14:12:19 UTC
The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=2faee677d518d9be29b46925cec7ae1cfdb42584 commit 2faee677d518d9be29b46925cec7ae1cfdb42584 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-06-09 13:49:49 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-06-09 14:09:37 +0000 ti/am335x: Fix the device_set_descf() call in dmtpps_probe() Fixes: 459dc61c8b05 ("arm: Convert drivers to use device_set_desc(f)()") (cherry picked from commit 3ce9b2ee9404381a002316df670939a3bd3c994f) --- sys/arm/ti/am335x/am335x_dmtpps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm/ti/am335x/am335x_dmtpps.c b/sys/arm/ti/am335x/am335x_dmtpps.c index 3cda880431ff..21b7c847f9dd 100644 --- a/sys/arm/ti/am335x/am335x_dmtpps.c +++ b/sys/arm/ti/am335x/am335x_dmtpps.c @@ -434,7 +434,7 @@ dmtpps_probe(device_t dev) if (dmtpps_tmr_num != tmr_num) return (ENXIO); - device_set_descf("AM335x PPS-Capture DMTimer%d", tmr_num); + device_set_descf(dev, "AM335x PPS-Capture DMTimer%d", tmr_num); return(BUS_PROBE_DEFAULT); }