diff options
author | glebius <glebius@FreeBSD.org> | 2005-12-29 10:38:42 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2005-12-29 10:38:42 +0000 |
commit | cadc33f1c645d38daa52b4b7d783e6cd2d21fe40 (patch) | |
tree | 791bba6299e08245ccdcdb6f25a272aed16ebcf2 | |
parent | 09f2498e57220d9c00512076352be6921f59539f (diff) | |
download | FreeBSD-src-cadc33f1c645d38daa52b4b7d783e6cd2d21fe40.zip FreeBSD-src-cadc33f1c645d38daa52b4b7d783e6cd2d21fe40.tar.gz |
Help Warner with merge from p4.
-rw-r--r-- | sys/dev/cardbus/cardbus.c | 3 |
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; |