staging: rtl8192e: Convert delayed_work_struct_rsl to struct delayed_work and work_st...
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 05:46:24 +0000 (00:46 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:53:26 +0000 (01:53 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

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

index 9f576ffc231ef320ee18b12a98bc4582f3cef9f3..1038ed8556275c01c4899c1ab413360155140773 100644 (file)
@@ -561,15 +561,15 @@ struct r8192_priv {
 
        short   up;
        short   up_first_time;
-       delayed_work_struct_rsl         update_beacon_wq;
-       delayed_work_struct_rsl         watch_dog_wq;
-       delayed_work_struct_rsl         txpower_tracking_wq;
-       delayed_work_struct_rsl         rfpath_check_wq;
-       delayed_work_struct_rsl         gpio_change_rf_wq;
-       delayed_work_struct_rsl         initialgain_operate_wq;
-       delayed_work_struct_rsl         check_hw_scan_wq;
-       delayed_work_struct_rsl         hw_scan_simu_wq;
-       delayed_work_struct_rsl         start_hw_scan_wq;
+       struct delayed_work             update_beacon_wq;
+       struct delayed_work             watch_dog_wq;
+       struct delayed_work             txpower_tracking_wq;
+       struct delayed_work             rfpath_check_wq;
+       struct delayed_work             gpio_change_rf_wq;
+       struct delayed_work             initialgain_operate_wq;
+       struct delayed_work             check_hw_scan_wq;
+       struct delayed_work             hw_scan_simu_wq;
+       struct delayed_work             start_hw_scan_wq;
 
        struct workqueue_struct         *priv_wq;
 
@@ -580,7 +580,7 @@ struct r8192_priv {
        struct rtl819x_ops                      *ops;
        struct rtllib_device                    *rtllib;
 
-       work_struct_rsl                         reset_wq;
+       struct work_struct                              reset_wq;
 
        struct log_int_8190 InterruptLog;
 
@@ -678,7 +678,7 @@ struct r8192_priv {
 
        enum card_type {PCI,MINIPCI,CARDBUS,USB}card_type;
 
-       work_struct_rsl qos_activate;
+       struct work_struct qos_activate;
 
        u8              bIbssCoordinator;
 
index 296488ef4f9b1a8f6a6f1b60195babb26da729de..08b6770dca6a88d28573e9edfce39ea020aea03d 100644 (file)
 #define EXPORT_SYMBOL_RSL(x) EXPORT_SYMBOL(x)
 
 
-       typedef struct delayed_work delayed_work_struct_rsl;
        #define queue_delayed_work_rsl(x,y,z) queue_delayed_work(x,y,z)
        #define INIT_DELAYED_WORK_RSL(x,y,z) INIT_DELAYED_WORK(x,y)
 
-       typedef struct work_struct work_struct_rsl;
        #define queue_work_rsl(x,y) queue_work(x,y)
        #define INIT_WORK_RSL(x,y,z) INIT_WORK(x,y)
 
@@ -1864,7 +1862,7 @@ struct rt_pwr_save_ctrl {
        bool                            bHaltAdapterClkRQ;
        bool                            bSwRfProcessing;
        RT_RF_POWER_STATE       eInactivePowerState;
-       work_struct_rsl         InactivePsWorkItem;
+       struct work_struct              InactivePsWorkItem;
        struct timer_list       InactivePsTimer;
 
        IPS_CALLBACK_FUNCION    ReturnPoint;
@@ -2398,17 +2396,17 @@ struct rtllib_device {
        /* used if IEEE_SOFTMAC_BEACONS is set */
        struct timer_list beacon_timer;
        u8 need_sw_enc;
-       work_struct_rsl associate_complete_wq;
-       work_struct_rsl ips_leave_wq;
-       delayed_work_struct_rsl associate_procedure_wq;
-       delayed_work_struct_rsl softmac_scan_wq;
-       delayed_work_struct_rsl softmac_hint11d_wq;
-       delayed_work_struct_rsl associate_retry_wq;
-       delayed_work_struct_rsl start_ibss_wq;
-       delayed_work_struct_rsl hw_wakeup_wq;
-       delayed_work_struct_rsl hw_sleep_wq;
-       delayed_work_struct_rsl link_change_wq;
-       work_struct_rsl wx_sync_scan_wq;
+       struct work_struct associate_complete_wq;
+       struct work_struct ips_leave_wq;
+       struct delayed_work associate_procedure_wq;
+       struct delayed_work softmac_scan_wq;
+       struct delayed_work softmac_hint11d_wq;
+       struct delayed_work associate_retry_wq;
+       struct delayed_work start_ibss_wq;
+       struct delayed_work hw_wakeup_wq;
+       struct delayed_work hw_sleep_wq;
+       struct delayed_work link_change_wq;
+       struct work_struct wx_sync_scan_wq;
 
        struct workqueue_struct *wq;