From: Larry Finger Date: Wed, 20 Jul 2011 00:52:21 +0000 (-0500) Subject: staging: rtl8192e: Convert typedef IC_INFERIORITY_8192S to enum ic_inferiority_8192s X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=456419dbb389498042ea2808600d25b67f687716;p=linux-beck.git staging: rtl8192e: Convert typedef IC_INFERIORITY_8192S to enum ic_inferiority_8192s Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl_core.h index b3bba7dae205..aca9bf3648c2 100644 --- a/drivers/staging/rtl8192e/rtl_core.h +++ b/drivers/staging/rtl8192e/rtl_core.h @@ -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;