Skip to contentSkip to conversation

staging: wlan-ng: hfa384x.h: fix for error reported by smatch

PATCH New Kumar Amit Mehta 1 participant 1 message Feb 16, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/staging/wlan-ng/hfa384x.h |    1 +
 1 file changed, 1 insertion(+)
drivers/staging/wlan-ng/hfa384x.h +1 -0
index 04c0433..3dfa85c 100644
@@ -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)
Signature · 1 line
1.7.9.5