Browse Source

staging: rtl8187se: Fix warning symbol should be static

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>
Jonas Hahnfeld 11 years ago
parent
commit
d1a9107116

+ 1 - 0
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt.c

@@ -19,6 +19,7 @@
 #include <linux/string.h>
 #include <linux/errno.h>
 
+#include "../r8180.h"
 #include "ieee80211.h"
 
 MODULE_AUTHOR("Jouni Malinen");

+ 1 - 0
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c

@@ -21,6 +21,7 @@
 #include <linux/string.h>
 #include <linux/wireless.h>
 
+#include "../r8180.h"
 #include "ieee80211.h"
 
 #include <linux/crypto.h>

+ 1 - 0
drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_wep.c

@@ -17,6 +17,7 @@
 #include <linux/skbuff.h>
 #include <linux/string.h>
 
+#include "../r8180.h"
 #include "ieee80211.h"
 
 #include <linux/crypto.h>

+ 1 - 0
drivers/staging/rtl8187se/r8180_wx.c

@@ -20,6 +20,7 @@
 
 #include "r8180.h"
 #include "r8180_hw.h"
+#include "r8180_wx.h"
 
 #include <net/iw_handler.h>
 #include "ieee80211/dot11d.h"