staging: wilc1000: rework include wilc_oswrapper.h
authorDean Lee <dean.lee@atmel.com>
Tue, 16 Jun 2015 06:28:21 +0000 (15:28 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jun 2015 02:18:15 +0000 (19:18 -0700)
rework line '#include "wilc_oswrapper.h"'
it does not used anywhere after change own data type to common data type.

Signed-off-by: Dean Lee <dean.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14 files changed:
drivers/staging/wilc1000/coreconfigurator.h
drivers/staging/wilc1000/fifo_buffer.c
drivers/staging/wilc1000/fifo_buffer.h
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/wilc_memory.c
drivers/staging/wilc1000/wilc_memory.h
drivers/staging/wilc1000/wilc_msgqueue.c
drivers/staging/wilc1000/wilc_msgqueue.h
drivers/staging/wilc1000/wilc_sleep.c
drivers/staging/wilc1000/wilc_sleep.h
drivers/staging/wilc1000/wilc_strutils.c
drivers/staging/wilc1000/wilc_strutils.h
drivers/staging/wilc1000/wilc_timer.c
drivers/staging/wilc1000/wilc_timer.h

index 6c1dad13f01360fd8f1a18f316ebd680f7a52fb7..3ca067ebe157e668bfb0110c909928b2bd73e9a1 100644 (file)
@@ -12,7 +12,6 @@
 #ifndef CORECONFIGURATOR_H
 #define CORECONFIGURATOR_H
 
-#include "wilc_oswrapper.h"
 #include "wilc_wlan_if.h"
 /*****************************************************************************/
 /* Constants                                                                 */
index c801406d1aa896c54ef91138adf7e230c41a70d2..b6c07cfc43d28a960f8e4722d7f4718844f86436 100644 (file)
@@ -1,6 +1,5 @@
 
 
-#include "wilc_oswrapper.h"
 #include "fifo_buffer.h"
 
 
index 57f7732db2daf2fd8d494d1e6acf3075b2a4dd8b..7b76998e42388ae7f08c078432274eefeee7db52 100644 (file)
@@ -1,5 +1,8 @@
 
-#include "wilc_oswrapper.h"
+#include <linux/types.h>
+#include <linux/semaphore.h>
+#include "wilc_memory.h"
+#include "wilc_strutils.h"
 
 
 #define tHANDLE        void *
index e091bbc7bf3ea49bf013e3ab90adf8b1fd72c6b8..3f139aebe9f83ed7362b9248fe7f4ecc5df8b83d 100644 (file)
@@ -1,5 +1,4 @@
 #include "host_interface.h"
-#include "wilc_oswrapper.h"
 #include "coreconfigurator.h"
 
 extern s32 TransportInit(void);
index 5670b5a0da0fe22308cf77a91842948ae0df2151..c70707fefb660eef29858583d54dcff944040ee9 100644 (file)
@@ -1,5 +1,5 @@
 
-#include "wilc_oswrapper.h"
+#include "wilc_memory.h"
 
 /*!
  *  @author    syounan
index 1bc4b530b763c1fb0873c5a10da942b88b560794..372d7053e87334bd2de0760c0ebe05de4549ac7e 100644 (file)
@@ -10,6 +10,9 @@
  *  @version   1.0
  */
 
+#include <linux/types.h>
+#include <linux/slab.h>
+
 /*!
  *  @struct             tstrWILC_MemoryAttrs
  *  @brief             Memory API options
@@ -234,4 +237,3 @@ void WILC_MemoryFree(const void *pvBlock, tstrWILC_MemoryAttrs *strAttrs,
 
 
 #endif
-
index 04fe5a59de5c0e09c3ca5d5ae84036657ca54363..16bcef4b5c00a54f52fc135761971d73c9fb8bae 100644 (file)
@@ -1,5 +1,5 @@
 
-#include "wilc_oswrapper.h"
+#include "wilc_msgqueue.h"
 #include <linux/spinlock.h>
 
 /*!
index 2ca02db95ee24710ee6c66ba2c41be20579f564c..35b10019eebd079c5068fd47515bfa0a8e008e0b 100644 (file)
  *  @version   1.0
  */
 
+#include "wilc_platform.h"
+#include "wilc_errorsupport.h"
+#include "wilc_memory.h"
+#include "wilc_strutils.h"
+
 /*!
  *  @struct             tstrWILC_MsgQueueAttrs
  *  @brief             Message Queue API options
index 569b833a71e9cd48390642f264292d1142033095..adab3cac64f9f1fff71e561feb4af5a24822f2c7 100644 (file)
@@ -1,5 +1,5 @@
 
-#include "wilc_oswrapper.h"
+#include "wilc_sleep.h"
 
 /*
  *  @author    mdaftedar
index 261f4ede338c4958214edda5000329a36b75fb70..cf9047f707a791b49f30cc4873f4d4a75fcf8ba5 100644 (file)
@@ -1,6 +1,9 @@
 #ifndef __WILC_SLEEP_H__
 #define __WILC_SLEEP_H__
 
+#include <linux/types.h>
+#include <linux/delay.h>
+
 /*!
  *  @brief     forces the current thread to sleep until the given time has elapsed
  *  @param[in] u32TimeMilliSec Time to sleep in Milli seconds
index ac9bb061126a1e1284776128ca55da229f6710e1..e0145953ceef279f981b9101919ec679f3c80123 100644 (file)
@@ -1,7 +1,7 @@
 
 #define _CRT_SECURE_NO_DEPRECATE
 
-#include "wilc_oswrapper.h"
+#include "wilc_strutils.h"
 
 
 /*!
index bb31beaf5aef1344cc7ca648b4862c078b571494..d1445575a25e1008d0f378d4899eafa49a1e5e00 100644 (file)
  *  @version   1.0
  */
 
+#include <linux/types.h>
+#include <linux/string.h>
+#include "wilc_errorsupport.h"
+
 /*!
  *  @brief     Compares two memory buffers
  *  @param[in] pvArg1 pointer to the first memory location
index c31bf0c5e5909b9b2e006893b2401493b2d51a45..dc71157f9c3e6c8afc82f8991a45feea3c4feaa0 100644 (file)
@@ -1,5 +1,5 @@
 
-#include "wilc_oswrapper.h"
+#include "wilc_timer.h"
 
 WILC_ErrNo WILC_TimerCreate(WILC_TimerHandle *pHandle,
        tpfWILC_TimerFunction pfCallback, tstrWILC_TimerAttrs *pstrAttrs)
index a0f91545240e3568f2c514c424ff540da4370701..931269db3194a26d43723d33722c08d370734099 100644 (file)
@@ -10,6 +10,9 @@
  *  @version   1.0
  */
 
+#include "wilc_platform.h"
+#include "wilc_errorsupport.h"
+
 typedef void (*tpfWILC_TimerFunction)(void *);
 
 /*!