mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 07:34:06 +08:00
staging: csr: remove all prototypes of not defined functions
these prototypes doesn't have function definitions in any of the c files Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4c956106d4
commit
7f7a252cd0
@ -34,88 +34,6 @@ extern "C" {
|
||||
|
||||
#define CSR_EVENT_WAIT_INFINITE ((u16) 0xFFFF)
|
||||
|
||||
/*----------------------------------------------------------------------------*
|
||||
* NAME
|
||||
* CsrEventCreate
|
||||
*
|
||||
* DESCRIPTION
|
||||
* Creates an event and returns a handle to the created event.
|
||||
*
|
||||
* RETURNS
|
||||
* Possible values:
|
||||
* CSR_RESULT_SUCCESS in case of success
|
||||
* CSR_FE_RESULT_NO_MORE_EVENTS in case of out of event resources
|
||||
* CSR_FE_RESULT_INVALID_POINTER in case the eventHandle pointer is invalid
|
||||
*
|
||||
*----------------------------------------------------------------------------*/
|
||||
CsrResult CsrEventCreate(CsrEventHandle *eventHandle);
|
||||
|
||||
/*----------------------------------------------------------------------------*
|
||||
* NAME
|
||||
* CsrEventWait
|
||||
*
|
||||
* DESCRIPTION
|
||||
* Wait fore one or more of the event bits to be set.
|
||||
*
|
||||
* RETURNS
|
||||
* Possible values:
|
||||
* CSR_RESULT_SUCCESS in case of success
|
||||
* CSR_FE_RESULT_TIMEOUT in case of timeout
|
||||
* CSR_FE_RESULT_INVALID_HANDLE in case the eventHandle is invalid
|
||||
* CSR_FE_RESULT_INVALID_POINTER in case the eventBits pointer is invalid
|
||||
*
|
||||
*----------------------------------------------------------------------------*/
|
||||
CsrResult CsrEventWait(CsrEventHandle *eventHandle, u16 timeoutInMs, u32 *eventBits);
|
||||
|
||||
/*----------------------------------------------------------------------------*
|
||||
* NAME
|
||||
* CsrEventSet
|
||||
*
|
||||
* DESCRIPTION
|
||||
* Set an event.
|
||||
*
|
||||
* RETURNS
|
||||
* Possible values:
|
||||
* CSR_RESULT_SUCCESS in case of success
|
||||
* CSR_FE_RESULT_INVALID_HANDLE in case the eventHandle is invalid
|
||||
*
|
||||
*----------------------------------------------------------------------------*/
|
||||
CsrResult CsrEventSet(CsrEventHandle *eventHandle, u32 eventBits);
|
||||
|
||||
/*----------------------------------------------------------------------------*
|
||||
* NAME
|
||||
* CsrEventDestroy
|
||||
*
|
||||
* DESCRIPTION
|
||||
* Destroy the event associated.
|
||||
*
|
||||
* RETURNS
|
||||
* void
|
||||
*
|
||||
*----------------------------------------------------------------------------*/
|
||||
void CsrEventDestroy(CsrEventHandle *eventHandle);
|
||||
|
||||
/*----------------------------------------------------------------------------*
|
||||
* NAME
|
||||
* CsrGlobalMutexUnlock
|
||||
*
|
||||
* DESCRIPTION
|
||||
* Unlock the global mutex.
|
||||
*
|
||||
*----------------------------------------------------------------------------*/
|
||||
void CsrGlobalMutexUnlock(void);
|
||||
|
||||
/*----------------------------------------------------------------------------*
|
||||
* NAME
|
||||
* CsrThreadSleep
|
||||
*
|
||||
* DESCRIPTION
|
||||
* Sleep for a given period.
|
||||
*
|
||||
* RETURNS
|
||||
* void
|
||||
*
|
||||
*----------------------------------------------------------------------------*/
|
||||
void CsrThreadSleep(u16 sleepTimeInMs);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user