From: Alison Schofield Date: Sat, 24 Oct 2015 04:33:34 +0000 (-0700) Subject: staging: r8723au: remove externs and include needed header file X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=575ff198f5a3981e8d9fb54e61876f9082ca3bd7;p=linux-beck.git staging: r8723au: remove externs and include needed header file Remove extern declaration and add include of header file to get same. Addresses checkpatch.pl: WARNING: externs should be avoided in .c files Signed-off-by: Alison Schofield Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_ap.c b/drivers/staging/rtl8723au/core/rtw_ap.c index 0086d5a2f92b..2b8b21653dea 100644 --- a/drivers/staging/rtl8723au/core/rtw_ap.c +++ b/drivers/staging/rtl8723au/core/rtw_ap.c @@ -21,10 +21,7 @@ #include #include #include - -extern unsigned char WMM_OUI23A[]; -extern unsigned char WPS_OUI23A[]; -extern unsigned char P2P_OUI23A[]; +#include void init_mlme_ap_info23a(struct rtw_adapter *padapter) {