ti/am335x: Fix the device_set_descf() call in am335x_dmtimer_probe()

Fixes: 459dc61c8b ("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
This commit is contained in:
Oskar Holmlund 2024-06-24 13:57:25 +02:00
parent 71f8fbf9bd
commit 332f00cdba

View file

@ -275,7 +275,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);
}