Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337342
b: refs/heads/master
c: 31370f7
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 26, 2012
1 parent 3d3dcd2 commit 2107d56
Show file tree
Hide file tree
Showing 67 changed files with 1 addition and 612 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1bbffe726e00f1f79ba1b8cf0cbd78223c995c0f
refs/heads/master: 31370f7e57b5a9f95457fb583354474f7e39fa3e
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_framework_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
#include "csr_result.h"
#include "csr_framework_ext_types.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Result codes */
#define CSR_FE_RESULT_NO_MORE_EVENTS ((CsrResult) 0x0001)
#define CSR_FE_RESULT_INVALID_POINTER ((CsrResult) 0x0002)
Expand All @@ -36,8 +32,4 @@ extern "C" {

void CsrThreadSleep(u16 sleepTimeInMs);

#ifdef __cplusplus
}
#endif

#endif
9 changes: 0 additions & 9 deletions trunk/drivers/staging/csr/csr_framework_ext_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
#include <pthread.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif


#ifdef __KERNEL__

struct CsrEvent {
Expand All @@ -46,8 +41,4 @@ typedef pthread_mutex_t CsrMutexHandle;

#endif /* __KERNEL__ */

#ifdef __cplusplus
}
#endif

#endif
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

#include "csr_prim_defs.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct
{
CsrPrim type;
Expand Down Expand Up @@ -181,8 +177,4 @@ typedef struct
*----------------------------------------------------------------------------*/
CsrEventCsrUint32CsrCharString *CsrEventCsrUint32CsrCharString_struct(u16 primtype, u16 msgtype, u32 value1, char *value2);

#ifdef __cplusplus
}
#endif

#endif /* CSR_LIB_H__ */
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_log.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
#include "csr_prim_defs.h"
#include "csr_msgconv.h"

#ifdef __cplusplus
extern "C" {
#endif

/*
* Log filtering
*/
Expand Down Expand Up @@ -224,8 +220,4 @@ void CsrLogExceptionWarning(u16 prim_type,
u32 line,
const char *file);

#ifdef __cplusplus
}
#endif

#endif
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_log_configure.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

#include "csr_log.h"

#ifdef __cplusplus
extern "C" {
#endif

/*---------------------------------*/
/* Log init/deinit */
/*---------------------------------*/
Expand Down Expand Up @@ -127,8 +123,4 @@ void CsrLogLevelTextSet(const char *originName,
const char *subOriginName,
CsrLogLevelText warningLevelMask);

#ifdef __cplusplus
}
#endif

#endif
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_log_text.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

#include "csr_log_configure.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct CsrLogSubOrigin
{
u16 subOriginNumber; /* Id of the given SubOrigin */
Expand Down Expand Up @@ -125,8 +121,4 @@ void CsrLogTextBufferDebug(CsrLogTextTaskId taskId, u16 subOrigin, size_t buffer
#define CSR_LOG_TEXT_UNHANDLED_PRIMITIVE(origin, suborigin, primClass, primType)
#endif

#ifdef __cplusplus
}
#endif

#endif
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_macro.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

#include <linux/types.h>

#ifdef __cplusplus
extern "C" {
#endif

#define FALSE (0)
#define TRUE (1)

Expand Down Expand Up @@ -107,8 +103,4 @@ extern "C" {
#define CSR_TOLOWER(character) (((character) >= 'A') && ((character) <= 'Z') ? ((character) + 0x20) : (character))
#define CSR_ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))

#ifdef __cplusplus
}
#endif

#endif
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_msg_transport.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,8 @@
*****************************************************************************/

#ifdef __cplusplus
extern "C" {
#endif

#ifndef CsrMsgTransport
#define CsrMsgTransport CsrSchedMessagePut
#endif

#ifdef __cplusplus
}
#endif

#endif /* CSR_MSG_TRANSPORT */
9 changes: 0 additions & 9 deletions trunk/drivers/staging/csr/csr_msgconv.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
#include "csr_prim_defs.h"
#include "csr_sched.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef size_t (CsrMsgSizeofFunc)(void *msg);
typedef u8 *(CsrMsgSerializeFunc)(u8 *buffer, size_t *length, void *msg);
typedef void (CsrMsgFreeFunc)(void *msg);
Expand Down Expand Up @@ -79,9 +75,4 @@ void CsrUint32Des(u32 *value, u8 *buffer, size_t *offset);
void CsrMemCpyDes(void *value, u8 *buffer, size_t *offset, size_t length);
void CsrCharStringDes(char **value, u8 *buffer, size_t *offset);


#ifdef __cplusplus
}
#endif

#endif
7 changes: 0 additions & 7 deletions trunk/drivers/staging/csr/csr_prim_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
on the license terms.
*****************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif

/************************************************************************************
* Segmentation of primitives in upstream and downstream segment
Expand Down Expand Up @@ -55,8 +52,4 @@ typedef u16 CsrPrim;

#define CSR_ENV_PRIM ((u16) (0x00FF | CSR_SYNERGY_EVENT_CLASS_MISC_BASE))

#ifdef __cplusplus
}
#endif

#endif /* CSR_PRIM_DEFS_H__ */
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_result.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,8 @@
*****************************************************************************/

#ifdef __cplusplus
extern "C" {
#endif

typedef u16 CsrResult;
#define CSR_RESULT_SUCCESS ((CsrResult) 0x0000)
#define CSR_RESULT_FAILURE ((CsrResult) 0xFFFF)

#ifdef __cplusplus
}
#endif

#endif
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
#include <linux/types.h>
#include "csr_time.h"

#ifdef __cplusplus
extern "C" {
#endif

/* An identifier issued by the scheduler. */
typedef u32 CsrSchedIdentifier;

Expand Down Expand Up @@ -86,8 +82,4 @@ void CsrSchedMessagePut(CsrSchedQid q,
void *mv);
#endif

#ifdef __cplusplus
}
#endif

#endif
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_sdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

#include "csr_result.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Result Codes */
#define CSR_SDIO_RESULT_INVALID_VALUE ((CsrResult) 1) /* Invalid argument value */
#define CSR_SDIO_RESULT_NO_DEVICE ((CsrResult) 2) /* The specified device is no longer present */
Expand Down Expand Up @@ -724,8 +720,4 @@ CsrResult CsrSdioHardReset(CsrSdioFunction *function);
void CsrSdioFunctionActive(CsrSdioFunction *function);
void CsrSdioFunctionIdle(CsrSdioFunction *function);

#ifdef __cplusplus
}
#endif

#endif
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_time.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ on the license terms.

#include <linux/types.h>

#ifdef __cplusplus
extern "C" {
#endif

/*******************************************************************************
NAME
Expand Down Expand Up @@ -77,8 +73,4 @@ u32 CsrTimeGet(u32 *high);
*----------------------------------------------------------------------------*/
#define CsrTimeSub(t1, t2) ((s32) (t1) - (s32) (t2))

#ifdef __cplusplus
}
#endif

#endif
8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_wifi_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
#include <linux/types.h>
#include "csr_result.h"

#ifdef __cplusplus
extern "C" {
#endif

/* MAC address */
typedef struct
{
Expand Down Expand Up @@ -101,9 +97,5 @@ typedef struct

#define CSR_WIFI_VERSION "5.1.0.0"

#ifdef __cplusplus
}
#endif

#endif

8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_wifi_fsm.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
#ifndef CSR_WIFI_FSM_H
#define CSR_WIFI_FSM_H

#ifdef __cplusplus
extern "C" {
#endif

#include "csr_prim_defs.h"
#include "csr_log_text.h"
#include "csr_wifi_fsm_event.h"
Expand Down Expand Up @@ -240,9 +236,5 @@ extern u8 CsrWifiFsmHasEvents(CsrWifiFsmContext *context);
*/
extern void CsrWifiFsmInstallWakeupCallback(CsrWifiFsmContext *context, CsrWifiFsmExternalWakupCallbackPtr callback);

#ifdef __cplusplus
}
#endif

#endif /* CSR_WIFI_FSM_H */

8 changes: 0 additions & 8 deletions trunk/drivers/staging/csr/csr_wifi_fsm_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
#ifndef CSR_WIFI_FSM_EVENT_H
#define CSR_WIFI_FSM_EVENT_H

#ifdef __cplusplus
extern "C" {
#endif

#include "csr_prim_defs.h"
#include "csr_sched.h"

Expand Down Expand Up @@ -42,9 +38,5 @@ typedef struct CsrWifiFsmEvent
struct CsrWifiFsmEvent *next;
} CsrWifiFsmEvent;

#ifdef __cplusplus
}
#endif

#endif /* CSR_WIFI_FSM_EVENT_H */

9 changes: 0 additions & 9 deletions trunk/drivers/staging/csr/csr_wifi_fsm_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
#ifndef CSR_WIFI_FSM_TYPES_H
#define CSR_WIFI_FSM_TYPES_H

#ifdef __cplusplus
extern "C" {
#endif

#include <linux/types.h>
#include "csr_macro.h"
#include "csr_sched.h"
Expand Down Expand Up @@ -431,9 +427,4 @@ struct CsrWifiFsmContext
#endif
};


#ifdef __cplusplus
}
#endif

#endif /* CSR_WIFI_FSM_TYPES_H */
9 changes: 0 additions & 9 deletions trunk/drivers/staging/csr/csr_wifi_hip_card.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
#ifndef __CARD_H__
#define __CARD_H__

#ifdef __cplusplus
extern "C" {
#endif

#include "csr_wifi_hip_card_sdio.h"
#include "csr_wifi_hip_signals.h"
#include "csr_wifi_hip_unifi_udi.h"
Expand Down Expand Up @@ -115,9 +111,4 @@ void unifi_debug_string_to_buf(const char *str);
void unifi_debug_hex_to_buf(const char *buff, u16 length);
#endif


#ifdef __cplusplus
}
#endif

#endif /* __CARD_H__ */
Loading

0 comments on commit 2107d56

Please sign in to comment.