From b1d296b3fd05f14a4c22deab00570090e3c310e0 Mon Sep 17 00:00:00 2001 From: Chaehyun Lim Date: Thu, 3 Mar 2016 14:28:24 +0900 Subject: [PATCH] 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 --- drivers/staging/wilc1000/coreconfigurator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.h b/drivers/staging/wilc1000/coreconfigurator.h index 63eca24..076e06a 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; -- 2.7.4