diff options
author | thompsa <thompsa@FreeBSD.org> | 2010-09-01 23:47:53 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2010-09-01 23:47:53 +0000 |
commit | bb06251a3b690fcc700e857bf3f756c4d0e07330 (patch) | |
tree | 7a1bc3589c16416a0d46c9217730539a6e4e7b98 /sys/dev/usb/wlan/if_run.c | |
parent | bbb8b576331e93599eb9120a0444db481e4d6f88 (diff) | |
download | FreeBSD-src-bb06251a3b690fcc700e857bf3f756c4d0e07330.zip FreeBSD-src-bb06251a3b690fcc700e857bf3f756c4d0e07330.tar.gz |
Add missing MODULE_VERSION() definitions, this resolves problems around
duplicate module loads.
PR: usb/125736
Submitted by: danger, mm
Reviewed by: hselasky
Diffstat (limited to 'sys/dev/usb/wlan/if_run.c')
-rw-r--r-- | sys/dev/usb/wlan/if_run.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/wlan/if_run.c b/sys/dev/usb/wlan/if_run.c index c594f21..6c9afb9 100644 --- a/sys/dev/usb/wlan/if_run.c +++ b/sys/dev/usb/wlan/if_run.c @@ -294,10 +294,6 @@ static const struct usb_device_id run_devs[] = { #undef RUN_DEV }; -MODULE_DEPEND(run, wlan, 1, 1, 1); -MODULE_DEPEND(run, usb, 1, 1, 1); -MODULE_DEPEND(run, firmware, 1, 1, 1); - static device_probe_t run_match; static device_attach_t run_attach; static device_detach_t run_detach; @@ -4871,3 +4867,7 @@ static driver_t run_driver = { static devclass_t run_devclass; DRIVER_MODULE(run, uhub, run_driver, run_devclass, NULL, 0); +MODULE_DEPEND(run, wlan, 1, 1, 1); +MODULE_DEPEND(run, usb, 1, 1, 1); +MODULE_DEPEND(run, firmware, 1, 1, 1); +MODULE_VERSION(run, 1); |