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

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

index b3bba7dae2057b507dd0660e9fb1f9e35567ef5a..aca9bf3648c200e65225d59fe7d8ff036385d38c 100644 (file)
@@ -328,10 +328,10 @@ enum reset_type {
        RESET_TYPE_SILENT = 0x02
 };
 
-typedef enum _IC_INFERIORITY_8192S{
+enum ic_inferiority_8192s {
        IC_INFERIORITY_A            = 0,
        IC_INFERIORITY_B            = 1,
-} IC_INFERIORITY_8192S, *PIC_INFERIORITY_8192S;
+};
 
 typedef enum _PCI_BRIDGE_VENDOR {
        PCI_BRIDGE_VENDOR_INTEL = 0x0,
@@ -586,7 +586,7 @@ struct r8192_priv {
 
 
        enum rt_rf_type_819xu rf_chip;
-       IC_INFERIORITY_8192S            IC_Class;
+       enum ic_inferiority_8192s IC_Class;
        enum ht_channel_width CurrentChannelBW;
        struct bb_reg_definition PHYRegDef[4];
        struct rate_adaptive rate_adaptive;