summaryrefslogtreecommitdiffstats
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-03-11 05:30:59 +0000
committerimp <imp@FreeBSD.org>2005-03-11 05:30:59 +0000
commit5343b1b7f2f1a32ac957dfde8fbb9963b1cd87d6 (patch)
tree36a17a90eaebc44f5ffd9ee7a89b9d7e5499b5df /sys/dev/cardbus
parent6881d62e6cf45269f81f003696e408f4241869e6 (diff)
downloadFreeBSD-src-5343b1b7f2f1a32ac957dfde8fbb9963b1cd87d6.zip
FreeBSD-src-5343b1b7f2f1a32ac957dfde8fbb9963b1cd87d6.tar.gz
Doh! silly typo precludes compiling
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/cardbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c
index aaabd08..6514396 100644
--- a/sys/dev/cardbus/cardbus.c
+++ b/sys/dev/cardbus/cardbus.c
@@ -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);
}
OpenPOWER on IntegriCloud