staging: wlan-ng: hfa384x.h: fix for error reported by smatch
authorKumar Amit Mehta <gmate.amit@gmail.com>
Sat, 16 Feb 2013 13:01:22 +0000 (05:01 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Feb 2013 18:51:36 +0000 (10:51 -0800)
Add the missing header include for 'struct urb' datatypes to avoid
potential build issues. Found using smatch.

Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x.h

index 04c04336ee75045a24a635bac82674daf16b3141..3dfa85ccc50408bdccbc1129670472427ec2f04f 100644 (file)
@@ -59,6 +59,7 @@
 #define HFA384x_FIRMWARE_VERSION(a, b, c) (((a) << 16) + ((b) << 8) + (c))
 
 #include <linux/if_ether.h>
+#include <linux/usb.h>
 
 /*--- Mins & Maxs -----------------------------------*/
 #define        HFA384x_PORTID_MAX              ((u16)7)