Use device_set_desc() instead of device_set_desc_copy() as we don't

manipulate the verbose description of a device.
This commit is contained in:
Pyun YongHyeon 2008-08-11 01:49:46 +00:00
parent a73a40561c
commit a823cbc6f7

View File

@ -177,7 +177,7 @@ bfe_probe(device_t dev)
while (t->bfe_name != NULL) {
if (pci_get_vendor(dev) == t->bfe_vid &&
pci_get_device(dev) == t->bfe_did) {
device_set_desc_copy(dev, t->bfe_name);
device_set_desc(dev, t->bfe_name);
return (BUS_PROBE_DEFAULT);
}
t++;