diff options
author | Kevin McKinney | 2012-12-20 06:31:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-01-07 19:54:49 +0100 |
commit | 2212e9374b5d8131785ba8a6e7948a6fed4dd1d5 (patch) | |
tree | 2bb04b792230c584f7ecd4237e2f3c4f8e963ad8 /drivers/staging/bcm/PHSDefines.h | |
parent | Staging: bcm: Remove typedef for _S_CLASSIFIER_TABLE and call directly. (diff) | |
download | kernel-qcow2-linux-2212e9374b5d8131785ba8a6e7948a6fed4dd1d5.tar.gz kernel-qcow2-linux-2212e9374b5d8131785ba8a6e7948a6fed4dd1d5.tar.xz kernel-qcow2-linux-2212e9374b5d8131785ba8a6e7948a6fed4dd1d5.zip |
Staging: bcm: Remove typedef for _S_CLASSIFIER_ENTRY and call directly.
This patch removes typedef for _S_CLASSIFIER_ENTRY, and
changes the name of the struct to bcm_phs_classifier_entry. In
addition, any calls to struct "_S_CLASSIFIER_ENTRY" are
changed to call directly.
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/PHSDefines.h')
-rw-r--r-- | drivers/staging/bcm/PHSDefines.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/bcm/PHSDefines.h b/drivers/staging/bcm/PHSDefines.h index fd7dd7f6ba8c..db570d47abf3 100644 --- a/drivers/staging/bcm/PHSDefines.h +++ b/drivers/staging/bcm/PHSDefines.h @@ -58,18 +58,18 @@ typedef enum _E_CLASSIFIER_ENTRY_CONTEXT { eOldClassifierRuleContext } E_CLASSIFIER_ENTRY_CONTEXT; -typedef struct _S_CLASSIFIER_ENTRY { +struct bcm_phs_classifier_entry { u8 bUsed; u16 uiClassifierRuleId; u8 u8PHSI; S_PHS_RULE *pstPhsRule; u8 bUnclassifiedPHSRule; -} S_CLASSIFIER_ENTRY; +}; struct bcm_phs_classifier_table { u16 uiTotalClassifiers; - S_CLASSIFIER_ENTRY stActivePhsRulesList[MAX_PHSRULE_PER_SF]; - S_CLASSIFIER_ENTRY stOldPhsRulesList[MAX_PHSRULE_PER_SF]; + struct bcm_phs_classifier_entry stActivePhsRulesList[MAX_PHSRULE_PER_SF]; + struct bcm_phs_classifier_entry stOldPhsRulesList[MAX_PHSRULE_PER_SF]; u16 uiOldestPhsRuleIndex; }; |