summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-12-29 10:38:42 +0000
committerglebius <glebius@FreeBSD.org>2005-12-29 10:38:42 +0000
commitcadc33f1c645d38daa52b4b7d783e6cd2d21fe40 (patch)
tree791bba6299e08245ccdcdb6f25a272aed16ebcf2
parent09f2498e57220d9c00512076352be6921f59539f (diff)
downloadFreeBSD-src-cadc33f1c645d38daa52b4b7d783e6cd2d21fe40.zip
FreeBSD-src-cadc33f1c645d38daa52b4b7d783e6cd2d21fe40.tar.gz
Help Warner with merge from p4.
-rw-r--r--sys/dev/cardbus/cardbus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c
index 3611543..6b6ec83 100644
--- a/sys/dev/cardbus/cardbus.c
+++ b/sys/dev/cardbus/cardbus.c
@@ -670,7 +670,8 @@ static device_method_t cardbus_methods[] = {
};
DECLARE_CLASS(pci_driver);
-DEFINE_CLASS_1(cardbus, cardbus_driver, cardbus_methods, 0, pci_driver);
+DEFINE_CLASS_1(cardbus, cardbus_driver, cardbus_methods,
+ sizeof(struct cardbus_softc), pci_driver);
static devclass_t cardbus_devclass;
OpenPOWER on IntegriCloud