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 6c1dad1..3ca067e 100644 (file)
@@ -12,7 +12,6 @@
 #ifndef CORECONFIGURATOR_H
 #define CORECONFIGURATOR_H
 
-#include "wilc_oswrapper.h"
 #include "wilc_wlan_if.h"
 /*****************************************************************************/
 /* Constants                                                                 */
index c801406..b6c07cf 100644 (file)
@@ -1,6 +1,5 @@
 
 
-#include "wilc_oswrapper.h"
 #include "fifo_buffer.h"
 
 
index 57f7732..7b76998 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 e091bbc..3f139ae 100644 (file)
@@ -1,5 +1,4 @@
 #include "host_interface.h"
-#include "wilc_oswrapper.h"
 #include "coreconfigurator.h"
 
 extern s32 TransportInit(void);
index 5670b5a..c70707f 100644 (file)
@@ -1,5 +1,5 @@
 
-#include "wilc_oswrapper.h"
+#include "wilc_memory.h"
 
 /*!
  *  @author    syounan
index 1bc4b53..372d705 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 04fe5a5..16bcef4 100644 (file)
@@ -1,5 +1,5 @@
 
-#include "wilc_oswrapper.h"
+#include "wilc_msgqueue.h"
 #include <linux/spinlock.h>
 
 /*!
index 2ca02db..35b1001 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 569b833..adab3ca 100644 (file)
@@ -1,5 +1,5 @@
 
-#include "wilc_oswrapper.h"
+#include "wilc_sleep.h"
 
 /*
  *  @author    mdaftedar
index 261f4ed..cf9047f 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 ac9bb06..e014595 100644 (file)
@@ -1,7 +1,7 @@
 
 #define _CRT_SECURE_NO_DEPRECATE
 
-#include "wilc_oswrapper.h"
+#include "wilc_strutils.h"
 
 
 /*!
index bb31bea..d144557 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 c31bf0c..dc71157 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 a0f9154..931269d 100644 (file)
@@ -10,6 +10,9 @@
  *  @version   1.0
  */
 
+#include "wilc_platform.h"
+#include "wilc_errorsupport.h"
+
 typedef void (*tpfWILC_TimerFunction)(void *);
 
 /*!