From: Larry Finger Date: Wed, 20 Jul 2011 00:57:24 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef DBGP_FLAG_E to enum dbgp_flag X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=85cdd997c82383b9df2ece60584d878499f9060a;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git staging: rtl8192e: Convert typedef DBGP_FLAG_E to enum dbgp_flag Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_debug.h b/drivers/staging/rtl8192e/rtl_debug.h index 2c32ece2e58f..415dfca6b37d 100644 --- a/drivers/staging/rtl8192e/rtl_debug.h +++ b/drivers/staging/rtl8192e/rtl_debug.h @@ -43,8 +43,7 @@ struct net_device; printk Fmt; \ } -typedef enum _DBGP_FLAG_E -{ +enum dbgp_flag { FQoS = 0, FTX = 1, FRX = 2, @@ -65,7 +64,7 @@ typedef enum _DBGP_FLAG_E FINIT = 17, FIOCTL = 18, DBGP_TYPE_MAX -} DBGP_FLAG_E; +}; #define QoS_INIT BIT0 #define QoS_VISTA BIT1