aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mwl
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-04-20 17:07:43 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-06 22:39:32 +0000
commit40995739779e1bfb95a6e089b57bae0b8deeaf34 (patch)
tree77c5dd909f055b0534faa98879197618a0e51520 /sys/dev/mwl
parent827252eefd1a22a9602ad03a272d7896b17e3371 (diff)
Diffstat (limited to 'sys/dev/mwl')
-rw-r--r--sys/dev/mwl/if_mwl_pci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/mwl/if_mwl_pci.c b/sys/dev/mwl/if_mwl_pci.c
index bf17fe4750b1..b6d3fdd7a2d7 100644
--- a/sys/dev/mwl/if_mwl_pci.c
+++ b/sys/dev/mwl/if_mwl_pci.c
@@ -281,13 +281,14 @@ static device_method_t mwl_pci_methods[] = {
DEVMETHOD(device_resume, mwl_pci_resume),
{ 0,0 }
};
+
static driver_t mwl_pci_driver = {
"mwl",
mwl_pci_methods,
sizeof (struct mwl_pci_softc)
};
-static devclass_t mwl_devclass;
-DRIVER_MODULE(mwl, pci, mwl_pci_driver, mwl_devclass, 0, 0);
+
+DRIVER_MODULE(mwl, pci, mwl_pci_driver, 0, 0);
MODULE_VERSION(mwl, 1);
MODULE_DEPEND(mwl, wlan, 1, 1, 1); /* 802.11 media layer */
MODULE_DEPEND(mwl, firmware, 1, 1, 1);