Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef DBGP_FLAG_E to enum dbgp_flag
Browse files Browse the repository at this point in the history
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 ebc95dd commit 85cdd99
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/rtl8192e/rtl_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ struct net_device;
printk Fmt; \
}

typedef enum _DBGP_FLAG_E
{
enum dbgp_flag {
FQoS = 0,
FTX = 1,
FRX = 2,
Expand All @@ -65,7 +64,7 @@ typedef enum _DBGP_FLAG_E
FINIT = 17,
FIOCTL = 18,
DBGP_TYPE_MAX
} DBGP_FLAG_E;
};

#define QoS_INIT BIT0
#define QoS_VISTA BIT1
Expand Down

0 comments on commit 85cdd99

Please sign in to comment.