From: Chaehyun Lim Date: Thu, 3 Mar 2016 05:28:24 +0000 (+0900) Subject: staging: wilc1000: remove typedef from enum tenuConnectSts X-Git-Tag: next-20160307~21^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b1d296b3fd05f14a4c22deab00570090e3c310e0;p=karo-tx-linux.git staging: wilc1000: remove typedef from enum tenuConnectSts This patch removes typedef from enum tenuConnectSts and renames it to connect_status to avoid camelcase. Signed-off-by: Chaehyun Lim Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h index 63eca24c581f..076e06ac0d66 100644 --- a/drivers/staging/wilc1000/coreconfigurator.h +++ b/drivers/staging/wilc1000/coreconfigurator.h @@ -50,7 +50,7 @@ #define MAKE_WORD16(lsb, msb) ((((u16)(msb) << 8) & 0xFF00) | (lsb)) #define MAKE_WORD32(lsw, msw) ((((u32)(msw) << 16) & 0xFFFF0000) | (lsw)) -typedef enum { +enum connect_status { SUCCESSFUL_STATUSCODE = 0, UNSPEC_FAIL = 1, UNSUP_CAP = 10, @@ -68,7 +68,7 @@ typedef enum { SHORT_SLOT_UNSUP = 25, OFDM_DSSS_UNSUP = 26, CONNECT_STS_FORCE_16_BIT = 0xFFFF -} tenuConnectSts; +}; typedef struct { u8 u8Full;