mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-02 22:54:52 +00:00
ti/am335x: Fix the device_set_descf() call in dmtpps_probe()
Fixes: 459dc61c8b
("arm: Convert drivers to use device_set_desc(f)()")
This commit is contained in:
parent
2671bde992
commit
3ce9b2ee94
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue