Doh! silly typo precludes compiling

This commit is contained in:
Warner Losh 2005-03-11 05:30:59 +00:00
parent 0f675788ff
commit 2219bbc553

View File

@ -547,8 +547,8 @@ cardbus_driver_added(device_t cbdev, driver_t *driver)
pci_print_verbose(&dinfo->pci);
resource_list_init(&dinfo->pci.resources);
cardbus_do_cis(cbdev, dev);
cardbus_pickup_maps(cbdev, child);
cardbus_alloc_resources(cbdev, child);
cardbus_pickup_maps(cbdev, dev);
cardbus_alloc_resources(cbdev, dev);
if (device_probe_and_attach(dev) != 0)
cardbus_release_all_resources(cbdev, dinfo);
}