staging: wilc1000: remove wilc_platform include file
authorChaehyun Lim <chaehyun.lim@gmail.com>
Tue, 29 Sep 2015 23:15:41 +0000 (08:15 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Sep 2015 02:58:52 +0000 (04:58 +0200)
This patch removes wilc_platform.h include file in wilc_oswrapper.h
wilc_platform.h have several standard header files so that some header
files should be included to avoid compilation errors.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/coreconfigurator.c
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/wilc_oswrapper.h
drivers/staging/wilc1000/wilc_wlan_if.h

index 68e3c7f223bbdc8c2bb183d9daffc98322da7e04..34a6c108db5e43a69c7e875a6401188d9186ec2f 100644 (file)
@@ -12,6 +12,7 @@
 #include "coreconfigurator.h"
 #include "wilc_wlan_if.h"
 #include <linux/errno.h>
+#include <linux/slab.h>
 #define TAG_PARAM_OFFSET       (MAC_HDR_LEN + TIME_STAMP_LEN + \
                                                        BEACON_INTERVAL_LEN + CAP_INFO_LEN)
 
index 358bd2dd0a139d12f12eadbcd3cd62fe7eb836e0..79f415864af42b4231d040f3564bb046e09f6ab2 100644 (file)
@@ -1,3 +1,7 @@
+#include <linux/slab.h>
+#include <linux/time.h>
+#include <linux/kthread.h>
+#include <linux/delay.h>
 #include "host_interface.h"
 #include "coreconfigurator.h"
 #include "wilc_wlan_if.h"
index 5456c9674cc72735a543e882a2edc7a69b3b6f93..10d16e9dd9d2f288ead4cbbb14bb244d499da1e9 100644 (file)
@@ -11,8 +11,6 @@
  */
 
 
-/* Os Configuration File */
-#include "wilc_platform.h"
 
 
 #endif
index 2d6e0cef20d677d9c3b097abbd2c8a06dc14c51f..e4807aecd54aeddda3641b47463769a585608305 100644 (file)
@@ -13,6 +13,7 @@
 /* #define MEMORY_STATIC */
 /* #define USE_OLD_SPI_SW */
 
+#include <linux/semaphore.h>
 #include "wilc_oswrapper.h"
 #include "linux_wlan_common.h"