From: Larry Finger Date: Wed, 20 Jul 2011 01:05:53 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef DM_DIG_TWO_PORT_ALG_E to enum dm_dig_two_port_alg X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=defb880b7dd0ddf76597b189c45caf3efee3e65d;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git staging: rtl8192e: Convert typedef DM_DIG_TWO_PORT_ALG_E to enum dm_dig_two_port_alg Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_dm.h b/drivers/staging/rtl8192e/rtl_dm.h index 550ec308392f..9a64fe397cd7 100644 --- a/drivers/staging/rtl8192e/rtl_dm.h +++ b/drivers/staging/rtl8192e/rtl_dm.h @@ -166,11 +166,10 @@ enum dm_dig_alg { DIG_ALGO_MAX }; -typedef enum _DM_DIG_TWO_PORT_ALG_E -{ +enum dm_dig_two_port_alg { DIG_TWO_PORT_ALGO_RSSI = 0, DIG_TWO_PORT_ALGO_FALSE_ALARM = 1, -} DM_DIG_TWO_PORT_ALG_E; +}; typedef enum _DM_DIG_EXT_PORT_ALG_E