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.karo-electronics.de/?a=commitdiff_plain;h=defb880b7dd0ddf76597b189c45caf3efee3e65d;p=mv-sheeva.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 550ec308392..9a64fe397cd 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