diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-19 21:06:24 -0500 |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 10:53:08 -0500 |
commit | 74082c929d07ced0d7cad5ce94230a97880ed0bc (patch) | |
tree | 33b0f4bef4906c4e8cfece3f2c0ea799da5a0e8e /drivers/staging/rtl8192e | |
parent | 472ba3265503203f70012d2decff4007fed270db (diff) | |
download | op-kernel-dev-74082c929d07ced0d7cad5ce94230a97880ed0bc.zip op-kernel-dev-74082c929d07ced0d7cad5ce94230a97880ed0bc.tar.gz |
staging: rtl8192e: Convert typedef FW_CMD_IO_TYPE to enum fw_cmd_io_type
Remove typedef from enum.
Rename enum.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 76c372c..461c150 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1940,7 +1940,7 @@ enum scan_op_backup_opt { SCAN_OPT_MAX }; -typedef enum _FW_CMD_IO_TYPE{ +enum fw_cmd_io_type { FW_CMD_DIG_ENABLE = 0, FW_CMD_DIG_DISABLE = 1, FW_CMD_DIG_HALT = 2, @@ -1972,7 +1972,7 @@ typedef enum _FW_CMD_IO_TYPE{ FW_CMD_CTRL_DM_BY_DRIVER_NEW = 28, FW_CMD_PAPE_CONTROL = 29, FW_CMD_CHAN_SET = 30, -} FW_CMD_IO_TYPE,*PFW_CMD_IO_TYPE; +}; #define RT_MAX_LD_SLOT_NUM 10 struct rt_link_detect { @@ -2513,7 +2513,7 @@ struct rtllib_device { u8 (*rtllib_ap_sec_type)(struct rtllib_device *ieee); void (*HalUsbRxAggrHandler)(struct net_device *dev, bool Value); void (*InitialGainHandler)(struct net_device *dev, u8 Operation); - bool (*SetFwCmdHandler)(struct net_device *dev, FW_CMD_IO_TYPE FwCmdIO); + bool (*SetFwCmdHandler)(struct net_device *dev, enum fw_cmd_io_type FwCmdIO); void (*UpdateHalRAMaskHandler)(struct net_device* dev, bool bMulticast, u8 macId, u8 MimoPs, u8 WirelessMode, u8 bCurTxBW40MHz, u8 rssi_level); void (*UpdateBeaconInterruptHandler)(struct net_device* dev, bool start); void (*UpdateInterruptMaskHandler)(struct net_device* dev, u32 AddMSR, u32 RemoveMSR); |