From: Sergio Paracuellos Date: Thu, 19 Apr 2018 05:08:04 +0000 (+0200) Subject: staging: ks7010: review includes of ks_wlan.h file X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=549f625c856163202c16cd7228d6bdf290953ba7;p=openwrt%2Fstaging%2Fblogic.git staging: ks7010: review includes of ks_wlan.h file This commit reviews includes of ks_wlan.h header file. It removes those which are not being used at all. It also reorder remaining ones in alphabetical order. The linux/module.h include file has been moved to the correct file which is ks7010_sdio.c in order to be able to compile the driver without problems. Signed-off-by: Sergio Paracuellos Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index 84243275cf11..81394ba0f186 100644 --- a/drivers/staging/ks7010/ks7010_sdio.c +++ b/drivers/staging/ks7010/ks7010_sdio.c @@ -10,6 +10,7 @@ * published by the Free Software Foundation. */ +#include #include #include #include diff --git a/drivers/staging/ks7010/ks_wlan.h b/drivers/staging/ks7010/ks_wlan.h index efda12258d44..e15fa46bf213 100644 --- a/drivers/staging/ks7010/ks_wlan.h +++ b/drivers/staging/ks7010/ks_wlan.h @@ -14,23 +14,12 @@ #define WPS -#include -#include -#include - -#include /* spinlock_t */ -#include /* wait_queue_head_t */ -#include /* pid_t */ -#include /* struct net_device_stats, struct sk_buff */ -#include -#include #include /* struct atomic_t */ -#include /* struct timer_list */ -#include #include /* struct completion */ -#include - -#include +#include /* struct net_device_stats, struct sk_buff */ +#include /* wait_queue_head_t */ +#include /* spinlock_t */ +#include #include "ks7010_sdio.h"