From 86a8fe4a73da9c180679441f208040b287ad5bb7 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Mon, 10 Jun 2013 05:45:16 +0000 Subject: [PATCH] Use STRUCT_USB_HOST_ID to make sure we have the right ELF section. --- sys/dev/usb/wlan/if_urtwn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/wlan/if_urtwn.c b/sys/dev/usb/wlan/if_urtwn.c index dedf38790eb..522f0592fe4 100644 --- a/sys/dev/usb/wlan/if_urtwn.c +++ b/sys/dev/usb/wlan/if_urtwn.c @@ -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), -- 2.45.0