svn commit: r251596 - head/sys/dev/usb/wlan

Rui Paulo rpaulo at FreeBSD.org
Mon Jun 10 05:45:16 UTC 2013


Author: rpaulo
Date: Mon Jun 10 05:45:16 2013
New Revision: 251596
URL: http://svnweb.freebsd.org/changeset/base/251596

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

Modified:
  head/sys/dev/usb/wlan/if_urtwn.c

Modified: head/sys/dev/usb/wlan/if_urtwn.c
==============================================================================
--- head/sys/dev/usb/wlan/if_urtwn.c	Mon Jun 10 04:23:11 2013	(r251595)
+++ head/sys/dev/usb/wlan/if_urtwn.c	Mon Jun 10 05:45:16 2013	(r251596)
@@ -84,7 +84,7 @@ SYSCTL_INT(_hw_usb_urtwn, OID_AUTO, debu
 	(((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),


More information about the svn-src-head mailing list