Use STRUCT_USB_HOST_ID to make sure we have the right ELF section.

This commit is contained in:
Rui Paulo 2013-06-10 05:45:16 +00:00
parent 2051980f97
commit 71c50b9ef2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251596

View File

@ -84,7 +84,7 @@ SYSCTL_INT(_hw_usb_urtwn, OID_AUTO, debug, CTLFLAG_RW, &urtwn_debug, 0,
(((wh)->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS)
/* various supported device vendors/products */
static const struct usb_device_id urtwn_devs[] = {
static const STRUCT_USB_HOST_ID urtwn_devs[] = {
#define URTWN_DEV(v,p) { USB_VP(USB_VENDOR_##v, USB_PRODUCT_##v##_##p) }
URTWN_DEV(ABOCOM, RTL8188CU_1),
URTWN_DEV(ABOCOM, RTL8188CU_2),