diff options
Diffstat (limited to 'sys/dev')
-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; |