summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Amit Mehta <gmate.amit@gmail.com>2013-02-16 17:01:22 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-18 22:51:36 +0400
commit2e38027588479421d244266f6edc0b4945546271 (patch)
tree3ae243d7d9e352660361bc2c9fcadb92e8887e6b
parentbdafb167d30da85ccd563a12197e0370d0667923 (diff)
downloadlinux-2e38027588479421d244266f6edc0b4945546271.tar.xz
staging: wlan-ng: hfa384x.h: fix for error reported by smatch
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>
-rw-r--r--drivers/staging/wlan-ng/hfa384x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 04c04336ee75..3dfa85ccc504 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -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)