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 <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sergio Paracuellos
2018-04-19 07:08:04 +02:00
committed by Greg Kroah-Hartman
parent 8a4e6ab3f5
commit 549f625c85
2 changed files with 5 additions and 15 deletions

View File

@@ -10,6 +10,7 @@
* published by the Free Software Foundation.
*/
#include <linux/module.h>
#include <linux/circ_buf.h>
#include <linux/firmware.h>
#include <linux/mmc/card.h>

View File

@@ -14,23 +14,12 @@
#define WPS
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/spinlock.h> /* spinlock_t */
#include <linux/sched.h> /* wait_queue_head_t */
#include <linux/types.h> /* pid_t */
#include <linux/netdevice.h> /* struct net_device_stats, struct sk_buff */
#include <linux/etherdevice.h>
#include <linux/wireless.h>
#include <linux/atomic.h> /* struct atomic_t */
#include <linux/timer.h> /* struct timer_list */
#include <linux/string.h>
#include <linux/completion.h> /* struct completion */
#include <linux/workqueue.h>
#include <linux/io.h>
#include <linux/netdevice.h> /* struct net_device_stats, struct sk_buff */
#include <linux/sched.h> /* wait_queue_head_t */
#include <linux/spinlock.h> /* spinlock_t */
#include <linux/wireless.h>
#include "ks7010_sdio.h"