Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef firmware_source_e to enum firmware…
Browse files Browse the repository at this point in the history
…_source

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 8ce50cf commit 9659e7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/rtl8192e/r8192E_firmware.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ enum desc_packet_type {
DESC_PACKET_TYPE_NORMAL = 1,
};

typedef enum _firmware_source_e{
enum firmware_source {
FW_SOURCE_IMG_FILE = 0,
FW_SOURCE_HEADER_FILE = 1,
} firmware_source_e, *pfirmware_source_e;
};

typedef enum _firmware_status_e{
FW_STATUS_0_INIT = 0,
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192e/rtl_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ struct r8192_priv {

struct rt_firmware *pFirmware;
enum rtl819x_loopback LoopbackMode;
firmware_source_e firmware_source;
enum firmware_source firmware_source;

struct timer_list watch_dog_timer;
struct timer_list fsync_timer;
Expand Down

0 comments on commit 9659e7f

Please sign in to comment.