staging: rtl8192e: Convert typedef firmware_source_e to enum firmware_source
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 18:36:21 +0000 (13:36 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:47:03 +0000 (10:47 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/r8192E_firmware.h
drivers/staging/rtl8192e/rtl_core.h

index 98ac58bdef267f9eea88d10f70c5939fa1e285d5..803eff58f391a60088370a57c515db3ac87005a3 100644 (file)
@@ -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,
index 31279a95ac8c2aa316492140ef21a76a45ba12ad..f12fe4cd29383d8ef4bb6fa4d10eb16a97057cfe 100644 (file)
@@ -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;