Re: [PATCH v3] Staging: rtl8192e: Fix declaration of symbols

2014-04-08 Thread Dan Carpenter
On Sun, Apr 06, 2014 at 09:26:55PM -0500, Joel Pelaez Jorge wrote: > --- a/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c > +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_wx.c > @@ -19,6 +19,7 @@ > > #include > #include "rtl_core.h" > +#include "rtl_wx.h" > > #define RATE_COUNT 12 > static u32 rtl8

[PATCH v3] Staging: rtl8192e: Fix declaration of symbols

2014-04-06 Thread Joel Pelaez Jorge
The two declarations with issues in rtl_wx.h: * function: struct iw_statistics *r8192_get_wireless_stats(); * variable: extern struct iw_handler_def r8192_wx_handlers_def; The symbol 'r8192_get_wireless_stats' is declared as 'extern' but it is only used in the local scope. The declaration is