[PATCH] staging: wlan-ng: cfg80211.c: Fix sparse warnings

From: Tair Rzayev
Date: Sat May 31 2014 - 16:34:07 EST


Include necessary header files to avoid "should be static" sparse warning

Signed-off-by: Tair Rzayev <tair.rzayev@xxxxxxxxx>
---
drivers/staging/wlan-ng/cfg80211.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index f76f95c..01be471 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -1,4 +1,6 @@
/* cfg80211 Interface for prism2_usb module */
+#include "hfa384x.h"
+#include "prism2mgmt.h"


/* Prism2 channel/frequency/bitrate declarations */
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/