diff options
author | Kevin McKinney <klmckinney1@gmail.com> | 2012-01-05 01:29:02 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 01:19:05 (GMT) |
commit | 5db125fb5ca2fed67a668c532af576a67a3d3bdc (patch) | |
tree | 61a54d69a3ef7f5c0089330ba0c69a23acd324fe /drivers | |
parent | e4868623bfe1c05e1e17d86729907a3850d12882 (diff) | |
download | linux-fsl-qoriq-5db125fb5ca2fed67a668c532af576a67a3d3bdc.tar.xz |
Staging: bcm: Remove typedef from CmHost.c and use enum.
This patch removes a typedef from a variable definition
in CmHost.c, and uses a enum instead. This Warning
was reported by checkpatch.pl.
Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/bcm/CmHost.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c index 63d768d..cf4146e 100644 --- a/drivers/staging/bcm/CmHost.c +++ b/drivers/staging/bcm/CmHost.c @@ -7,12 +7,12 @@ /* #define CONN_MSG */ #include "headers.h" -typedef enum _E_CLASSIFIER_ACTION { +enum E_CLASSIFIER_ACTION { eInvalidClassifierAction, eAddClassifier, eReplaceClassifier, eDeleteClassifier -} E_CLASSIFIER_ACTION; +}; static ULONG GetNextTargetBufferLocation(PMINI_ADAPTER Adapter, B_UINT16 tid); @@ -437,7 +437,7 @@ static VOID CopyToAdapter(register PMINI_ADAPTER Adapter, /* <Pointer to the Ada /* UCHAR ucProtocolLength = 0; */ ULONG ulSFID; UINT nClassifierIndex = 0; - E_CLASSIFIER_ACTION eClassifierAction = eInvalidClassifierAction; + enum E_CLASSIFIER_ACTION eClassifierAction = eInvalidClassifierAction; B_UINT16 u16PacketClassificationRuleIndex = 0; UINT nIndex = 0; stConvergenceSLTypes *psfCSType = NULL; |