The code should be for the current kernel version. Remove conditional version based code.
Signed-off-by: Sachin Kamat <sachin.ka...@linaro.org> --- drivers/staging/rtl8821ae/stats.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/rtl8821ae/stats.c b/drivers/staging/rtl8821ae/stats.c index a20c0f8f65ec..39928a714f08 100644 --- a/drivers/staging/rtl8821ae/stats.c +++ b/drivers/staging/rtl8821ae/stats.c @@ -26,11 +26,9 @@ * Larry Finger <larry.fin...@lwfinger.net> * *****************************************************************************/ +#include <linux/export.h> #include "wifi.h" #include "stats.h" -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) -#include <linux/export.h> -#endif u8 rtl_query_rxpwrpercentage(char antpower) { -- 1.7.9.5 _______________________________________________ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel