Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef IPS_CALLBACK_FUNCION to enum ips_c…
Browse files Browse the repository at this point in the history
…allback_function

Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent f6e3d4f commit 8304cc6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/staging/rtl8192e/rtllib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 8304cc6

Please sign in to comment.