mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-01 14:14:56 +00:00
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:
parent
71f8fbf9bd
commit
332f00cdba
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue