diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-12-20 00:31:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 10:54:48 -0800 |
commit | acd4ab258f5fc2a8942f5b96be6f7e2f9b4164f2 (patch) | |
tree | 756aa3643f4a0f6b8ea89192c5a6796b2e2cde04 /drivers/staging/bcm | |
parent | bb1c74e58339e9e5b5a00f052c3cecf894877d63 (diff) |
Staging: bcm: Properly format braces in PHSDefines.h
This patch formats braces in PHSDefines.h.
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r-- | drivers/staging/bcm/PHSDefines.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/drivers/staging/bcm/PHSDefines.h b/drivers/staging/bcm/PHSDefines.h index bb3f83d0e2cd..ec29ee7480eb 100644 --- a/drivers/staging/bcm/PHSDefines.h +++ b/drivers/staging/bcm/PHSDefines.h @@ -37,8 +37,7 @@ #define ERR_CLSID_MATCH_FAIL 0x808 #define ERR_PHSRULE_MATCH_FAIL 0x809 -typedef struct _S_PHS_RULE -{ +typedef struct _S_PHS_RULE { B_UINT8 u8PHSI; B_UINT8 u8PHSFLength; B_UINT8 u8PHSF[MAX_PHS_LENGTHS]; @@ -54,14 +53,12 @@ typedef struct _S_PHS_RULE ULONG PHSErrorNumPackets; } S_PHS_RULE; -typedef enum _E_CLASSIFIER_ENTRY_CONTEXT -{ +typedef enum _E_CLASSIFIER_ENTRY_CONTEXT { eActiveClassifierRuleContext, eOldClassifierRuleContext } E_CLASSIFIER_ENTRY_CONTEXT; -typedef struct _S_CLASSIFIER_ENTRY -{ +typedef struct _S_CLASSIFIER_ENTRY { B_UINT8 bUsed; B_UINT16 uiClassifierRuleId; B_UINT8 u8PHSI; @@ -69,30 +66,25 @@ typedef struct _S_CLASSIFIER_ENTRY B_UINT8 bUnclassifiedPHSRule; } S_CLASSIFIER_ENTRY; -typedef struct _S_CLASSIFIER_TABLE -{ +typedef struct _S_CLASSIFIER_TABLE { B_UINT16 uiTotalClassifiers; S_CLASSIFIER_ENTRY stActivePhsRulesList[MAX_PHSRULE_PER_SF]; S_CLASSIFIER_ENTRY stOldPhsRulesList[MAX_PHSRULE_PER_SF]; B_UINT16 uiOldestPhsRuleIndex; } S_CLASSIFIER_TABLE; - -typedef struct _S_SERVICEFLOW_ENTRY -{ +typedef struct _S_SERVICEFLOW_ENTRY { B_UINT8 bUsed; B_UINT16 uiVcid; S_CLASSIFIER_TABLE *pstClassifierTable; } S_SERVICEFLOW_ENTRY; -typedef struct _S_SERVICEFLOW_TABLE -{ +typedef struct _S_SERVICEFLOW_TABLE { B_UINT16 uiTotalServiceFlows; S_SERVICEFLOW_ENTRY stSFList[MAX_SERVICEFLOWS]; } S_SERVICEFLOW_TABLE; -typedef struct _PHS_DEVICE_EXTENSION -{ +typedef struct _PHS_DEVICE_EXTENSION { /* PHS Specific data */ S_SERVICEFLOW_TABLE *pstServiceFlowPhsRulesTable; void *CompressedTxBuffer; |