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/serial/uvisor.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/serial/uvisor.c')
-rw-r--r-- | sys/dev/usb/serial/uvisor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/serial/uvisor.c b/sys/dev/usb/serial/uvisor.c index 77ff31f..96a3389 100644 --- a/sys/dev/usb/serial/uvisor.c +++ b/sys/dev/usb/serial/uvisor.c @@ -252,6 +252,7 @@ static driver_t uvisor_driver = { DRIVER_MODULE(uvisor, uhub, uvisor_driver, uvisor_devclass, NULL, 0); MODULE_DEPEND(uvisor, ucom, 1, 1, 1); MODULE_DEPEND(uvisor, usb, 1, 1, 1); +MODULE_VERSION(uvisor, 1); static const struct usb_device_id uvisor_devs[] = { #define UVISOR_DEV(v,p,i) { USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, i) } |