aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cardbus
diff options
context:
space:
mode:
authorAndrew R. Reiter <arr@FreeBSD.org>2002-09-10 16:50:06 +0000
committerAndrew R. Reiter <arr@FreeBSD.org>2002-09-10 16:50:06 +0000
commitb2c6ac5b2b568c2c1ef38bdf93b9e44874eed3da (patch)
tree5c36d4ca61671c0e55d2d580ed41574efe701e62 /sys/dev/cardbus
parent695aa14fe2d143b36feb88270124169ff753de58 (diff)
Notes
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r--sys/dev/cardbus/cardbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c
index c0f0c348e336..991cfe726dfc 100644
--- a/sys/dev/cardbus/cardbus.c
+++ b/sys/dev/cardbus/cardbus.c
@@ -316,7 +316,7 @@ cardbus_driver_added(device_t cbdev, driver_t *driver)
/* XXX check if 16-bit or cardbus! */
int numdevs;
device_t *devlist;
- int tmp, cardattached;
+ int tmp;
device_get_children(cbdev, &devlist, &numdevs);