summaryrefslogtreecommitdiffstats
path: root/drivers/staging/bcm/PHSDefines.h
diff options
context:
space:
mode:
authorKevin McKinney2012-12-20 06:31:34 +0100
committerGreg Kroah-Hartman2013-01-07 19:54:49 +0100
commita903d65055199bfad94ae3af598d45970f62f8c2 (patch)
treebb1c0ccbb0d1a275b9736b193a4e191e57f26fd6 /drivers/staging/bcm/PHSDefines.h
parentStaging: bcm: Remove typedef for _E_CLASSIFIER_ENTRY_CONTEXT and call directly. (diff)
downloadkernel-qcow2-linux-a903d65055199bfad94ae3af598d45970f62f8c2.tar.gz
kernel-qcow2-linux-a903d65055199bfad94ae3af598d45970f62f8c2.tar.xz
kernel-qcow2-linux-a903d65055199bfad94ae3af598d45970f62f8c2.zip
Staging: bcm: Remove typedef for _S_PHS_RULE and call directly.
This patch removes typedef for _S_PHS_RULE, and changes the name of the struct to bcm_phs_rule. In addition, any calls to struct "S_PHS_RULE" 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/PHSDefines.h b/drivers/staging/bcm/PHSDefines.h
index a65f5b54d4a8..cd78ee4ffa22 100644
--- a/drivers/staging/bcm/PHSDefines.h
+++ b/drivers/staging/bcm/PHSDefines.h
@@ -37,7 +37,7 @@
#define ERR_CLSID_MATCH_FAIL 0x808
#define ERR_PHSRULE_MATCH_FAIL 0x809
-typedef struct _S_PHS_RULE {
+struct bcm_phs_rule {
u8 u8PHSI;
u8 u8PHSFLength;
u8 u8PHSF[MAX_PHS_LENGTHS];
@@ -51,7 +51,7 @@ typedef struct _S_PHS_RULE {
long PHSModifiedBytes;
unsigned long PHSModifiedNumPackets;
unsigned long PHSErrorNumPackets;
-} S_PHS_RULE;
+};
enum bcm_phs_classifier_context {
eActiveClassifierRuleContext,
@@ -62,7 +62,7 @@ struct bcm_phs_classifier_entry {
u8 bUsed;
u16 uiClassifierRuleId;
u8 u8PHSI;
- S_PHS_RULE *pstPhsRule;
+ struct bcm_phs_rule *pstPhsRule;
u8 bUnclassifiedPHSRule;
};