diff options
Diffstat (limited to 'sys/dev/bwn/if_bwn.c')
| -rw-r--r-- | sys/dev/bwn/if_bwn.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c index 1dc38dbcae6c..b911ac137d82 100644 --- a/sys/dev/bwn/if_bwn.c +++ b/sys/dev/bwn/if_bwn.c @@ -7738,13 +7738,14 @@ static device_method_t bwn_methods[] = { DEVMETHOD(device_resume, bwn_resume), DEVMETHOD_END }; + static driver_t bwn_driver = { "bwn", bwn_methods, sizeof(struct bwn_softc) }; -static devclass_t bwn_devclass; -DRIVER_MODULE(bwn, bhnd, bwn_driver, bwn_devclass, 0, 0); + +DRIVER_MODULE(bwn, bhnd, bwn_driver, 0, 0); MODULE_DEPEND(bwn, bhnd, 1, 1, 1); MODULE_DEPEND(bwn, gpiobus, 1, 1, 1); MODULE_DEPEND(bwn, wlan, 1, 1, 1); /* 802.11 media layer */ |
