staging: rtl8187se: Fix warning symbol should be static
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Sun, 6 Apr 2014 15:46:04 +0000 (17:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Apr 2014 23:02:32 +0000 (16:02 -0700)
This patch solves some sparse warnings about "symbol [...] was not
declared. Should it be static?" by including the correct header files.

Signed-off-by: Jonas Hahnfeld <hahnjo@hahnjo.de>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt.c
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_wep.c
drivers/staging/rtl8187se/r8180_wx.c

index 101f0c0cdb0a5605444864b286fe3e5e636d4e41..03462c318e15c3b5b35edc87700b68021cf58dc3 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/string.h>
 #include <linux/errno.h>
 
+#include "../r8180.h"
 #include "ieee80211.h"
 
 MODULE_AUTHOR("Jouni Malinen");
index 4fe2538186308d8bccf2d6051a2b28e7e84150cb..7eae3d9f5edc4d78db17da9465a87aa103ab1a9a 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/string.h>
 #include <linux/wireless.h>
 
+#include "../r8180.h"
 #include "ieee80211.h"
 
 #include <linux/crypto.h>
index f25367224941475363c04eb712af4a2df8862c9b..288f86c887f2f66a5857d51897b63cb4194bb523 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/skbuff.h>
 #include <linux/string.h>
 
+#include "../r8180.h"
 #include "ieee80211.h"
 
 #include <linux/crypto.h>
index b55249170f18b2f36cb02ca127c766a32b222063..57bf01fd733f040b160658f95a2a91a297ba8fda 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "r8180.h"
 #include "r8180_hw.h"
+#include "r8180_wx.h"
 
 #include <net/iw_handler.h>
 #include "ieee80211/dot11d.h"