]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8192e: Convert typedef opt_rst_type_e to enum opt_rst_type
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 18:13:24 +0000 (13:13 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 15:37:10 +0000 (10:37 -0500)
Remove typedef from enum.
Rename enum.
Rename uses.

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

index 125d66e19144dfb0ae5d2c9b1004675652d830b0..d284d422b64a62f8027643fd27dc4684d4f0be27 100644 (file)
@@ -266,7 +266,7 @@ bool init_firmware(struct net_device *dev)
        u32     file_length = 0;
        u8      *mapped_file = NULL;
        u8      init_step = 0;
-       opt_rst_type_e  rst_opt = OPT_SYSTEM_RESET;
+       enum opt_rst_type rst_opt = OPT_SYSTEM_RESET;
        enum firmware_init_step starting_state = FW_INIT_STEP0_BOOT;
 
        struct rt_firmware *pfirmware = priv->pFirmware;
index 52b1f342fdee744295eed5d4de44508d6390eaf5..019a5a281f25a07ab3a919f4290986296f1ad63d 100644 (file)
@@ -29,10 +29,10 @@ enum firmware_init_step {
        FW_INIT_STEP2_DATA = 2,
 };
 
-typedef enum _opt_rst_type_e{
+enum opt_rst_type {
        OPT_SYSTEM_RESET = 0,
        OPT_FIRMWARE_RESET = 1,
-} opt_rst_type_e;
+};
 
 typedef enum _desc_packet_type_e{
        DESC_PACKET_TYPE_INIT = 0,