From: Larry Finger Date: Wed, 20 Jul 2011 01:04:17 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef dm_dig_alg_e to enum dm_dig_alg X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ba7b6556fdadf357ef4bcdd4ff694dde8ae9560a;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git staging: rtl8192e: Convert typedef dm_dig_alg_e to enum dm_dig_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 c1fb5027bd66..550ec308392f 100644 --- a/drivers/staging/rtl8192e/rtl_dm.h +++ b/drivers/staging/rtl8192e/rtl_dm.h @@ -158,14 +158,13 @@ enum dm_dig_op_sta { DIG_OP_TYPE_MAX }; -typedef enum _dm_dig_alg_e -{ +enum dm_dig_alg { DIG_ALGO_BY_FALSE_ALARM = 0, DIG_ALGO_BY_RSSI = 1, DIG_ALGO_BEFORE_CONNECT_BY_RSSI_AND_ALARM = 2, DIG_ALGO_BY_TOW_PORT = 3, DIG_ALGO_MAX -} dm_dig_alg_e; +}; typedef enum _DM_DIG_TWO_PORT_ALG_E {