From: Jonas Hahnfeld Date: Sun, 6 Apr 2014 15:46:04 +0000 (+0200) Subject: staging: rtl8187se: Fix warning symbol should be static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d1a9107116b2bda2b08eeb8b076fd862a644c831;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt.c index 101f0c0cdb0a..03462c318e15 100644 --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt.c +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt.c @@ -19,6 +19,7 @@ #include #include +#include "../r8180.h" #include "ieee80211.h" MODULE_AUTHOR("Jouni Malinen"); diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c index 4fe253818630..7eae3d9f5edc 100644 --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_ccmp.c @@ -21,6 +21,7 @@ #include #include +#include "../r8180.h" #include "ieee80211.h" #include diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_wep.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_wep.c index f25367224941..288f86c887f2 100644 --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_wep.c +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_crypt_wep.c @@ -17,6 +17,7 @@ #include #include +#include "../r8180.h" #include "ieee80211.h" #include diff --git a/drivers/staging/rtl8187se/r8180_wx.c b/drivers/staging/rtl8187se/r8180_wx.c index b55249170f18..57bf01fd733f 100644 --- a/drivers/staging/rtl8187se/r8180_wx.c +++ b/drivers/staging/rtl8187se/r8180_wx.c @@ -20,6 +20,7 @@ #include "r8180.h" #include "r8180_hw.h" +#include "r8180_wx.h" #include #include "ieee80211/dot11d.h"