Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- drivers/staging/rtl8192e/rtllib.h | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 23c3625..8afe295 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1806,12 +1806,11 @@ enum rt_ps_mode { eAutoPs, }; -typedef enum _IPS_CALLBACK_FUNCION -{ +enum ips_callback_function { IPS_CALLBACK_NONE = 0, IPS_CALLBACK_MGNT_LINK_REQUEST = 1, IPS_CALLBACK_JOIN_REQUEST = 2, -} IPS_CALLBACK_FUNCION; +}; typedef enum _RT_JOIN_ACTION{ RT_JOIN_INFRA = 1, @@ -1864,7 +1863,7 @@ struct rt_pwr_save_ctrl { struct work_struct InactivePsWorkItem; struct timer_list InactivePsTimer; - IPS_CALLBACK_FUNCION ReturnPoint; + enum ips_callback_function ReturnPoint; bool bTmpBssDesc; RT_JOIN_ACTION tmpJoinAction; -- 1.7.3.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel