Commit c3ea8a72 authored by Dean Lee's avatar Dean Lee Committed by Greg Kroah-Hartman

staging: wilc1000: rework include wilc_oswrapper.h

rework line '#include "wilc_oswrapper.h"'
it does not used anywhere after change own data type to common data type.
Signed-off-by: default avatarDean Lee <dean.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 56df900c
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
#ifndef CORECONFIGURATOR_H #ifndef CORECONFIGURATOR_H
#define CORECONFIGURATOR_H #define CORECONFIGURATOR_H
#include "wilc_oswrapper.h"
#include "wilc_wlan_if.h" #include "wilc_wlan_if.h"
/*****************************************************************************/ /*****************************************************************************/
/* Constants */ /* Constants */
......
#include "wilc_oswrapper.h"
#include "fifo_buffer.h" #include "fifo_buffer.h"
......
#include "wilc_oswrapper.h" #include <linux/types.h>
#include <linux/semaphore.h>
#include "wilc_memory.h"
#include "wilc_strutils.h"
#define tHANDLE void * #define tHANDLE void *
......
#include "host_interface.h" #include "host_interface.h"
#include "wilc_oswrapper.h"
#include "coreconfigurator.h" #include "coreconfigurator.h"
extern s32 TransportInit(void); extern s32 TransportInit(void);
......
#include "wilc_oswrapper.h" #include "wilc_memory.h"
/*! /*!
* @author syounan * @author syounan
......
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
* @version 1.0 * @version 1.0
*/ */
#include <linux/types.h>
#include <linux/slab.h>
/*! /*!
* @struct tstrWILC_MemoryAttrs * @struct tstrWILC_MemoryAttrs
* @brief Memory API options * @brief Memory API options
...@@ -234,4 +237,3 @@ void WILC_MemoryFree(const void *pvBlock, tstrWILC_MemoryAttrs *strAttrs, ...@@ -234,4 +237,3 @@ void WILC_MemoryFree(const void *pvBlock, tstrWILC_MemoryAttrs *strAttrs,
#endif #endif
#include "wilc_oswrapper.h" #include "wilc_msgqueue.h"
#include <linux/spinlock.h> #include <linux/spinlock.h>
/*! /*!
......
...@@ -10,6 +10,11 @@ ...@@ -10,6 +10,11 @@
* @version 1.0 * @version 1.0
*/ */
#include "wilc_platform.h"
#include "wilc_errorsupport.h"
#include "wilc_memory.h"
#include "wilc_strutils.h"
/*! /*!
* @struct tstrWILC_MsgQueueAttrs * @struct tstrWILC_MsgQueueAttrs
* @brief Message Queue API options * @brief Message Queue API options
......
#include "wilc_oswrapper.h" #include "wilc_sleep.h"
/* /*
* @author mdaftedar * @author mdaftedar
......
#ifndef __WILC_SLEEP_H__ #ifndef __WILC_SLEEP_H__
#define __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 * @brief forces the current thread to sleep until the given time has elapsed
* @param[in] u32TimeMilliSec Time to sleep in Milli seconds * @param[in] u32TimeMilliSec Time to sleep in Milli seconds
......
#define _CRT_SECURE_NO_DEPRECATE #define _CRT_SECURE_NO_DEPRECATE
#include "wilc_oswrapper.h" #include "wilc_strutils.h"
/*! /*!
......
...@@ -10,6 +10,10 @@ ...@@ -10,6 +10,10 @@
* @version 1.0 * @version 1.0
*/ */
#include <linux/types.h>
#include <linux/string.h>
#include "wilc_errorsupport.h"
/*! /*!
* @brief Compares two memory buffers * @brief Compares two memory buffers
* @param[in] pvArg1 pointer to the first memory location * @param[in] pvArg1 pointer to the first memory location
......
#include "wilc_oswrapper.h" #include "wilc_timer.h"
WILC_ErrNo WILC_TimerCreate(WILC_TimerHandle *pHandle, WILC_ErrNo WILC_TimerCreate(WILC_TimerHandle *pHandle,
tpfWILC_TimerFunction pfCallback, tstrWILC_TimerAttrs *pstrAttrs) tpfWILC_TimerFunction pfCallback, tstrWILC_TimerAttrs *pstrAttrs)
......
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
* @version 1.0 * @version 1.0
*/ */
#include "wilc_platform.h"
#include "wilc_errorsupport.h"
typedef void (*tpfWILC_TimerFunction)(void *); typedef void (*tpfWILC_TimerFunction)(void *);
/*! /*!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment