git: 3ce9b2ee9404 - main - 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:09:16 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=3ce9b2ee9404381a002316df670939a3bd3c994f commit 3ce9b2ee9404381a002316df670939a3bd3c994f 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:08:31 +0000 ti/am335x: Fix the device_set_descf() call in dmtpps_probe() Fixes: 459dc61c8b05 ("arm: Convert drivers to use device_set_desc(f)()") --- 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 5a19d3ad0dc3..32f975a310de 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); }