From: Kevin McKinney Date: Thu, 5 Jan 2012 01:29:02 +0000 (-0500) Subject: Staging: bcm: Remove typedef from CmHost.c and use enum. X-Git-Tag: staging-3.3~176^2~111 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5db125fb5ca2fed67a668c532af576a67a3d3bdc;p=karo-tx-linux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c index 63d768d45bfe..cf4146e5639d 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, /*