diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-12-16 14:59:49 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-20 14:52:18 -0500 |
commit | 3d986b25b5faa50ba6afd94f60f270b6c3061e5e (patch) | |
tree | 0837f933d47357c6a7c45930b1637825c592b429 /drivers/net | |
parent | d4d5dc3d6f86cc70f08e45b840f3e681588d2718 (diff) |
rtlwifi: use alloc_workqueue
create_workqueue is deprecated. The workqueue usage does not seem to
demand any special treatment, so do not set any flags either.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Acked-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/rtlwifi/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/base.c b/drivers/net/wireless/rtlwifi/base.c index 77fa59af63d8..f6cc07369d75 100644 --- a/drivers/net/wireless/rtlwifi/base.c +++ b/drivers/net/wireless/rtlwifi/base.c | |||
@@ -225,7 +225,7 @@ static void _rtl_init_deferred_work(struct ieee80211_hw *hw) | |||
225 | 225 | ||
226 | /* <2> work queue */ | 226 | /* <2> work queue */ |
227 | rtlpriv->works.hw = hw; | 227 | rtlpriv->works.hw = hw; |
228 | rtlpriv->works.rtl_wq = create_workqueue(rtlpriv->cfg->name); | 228 | rtlpriv->works.rtl_wq = alloc_workqueue(rtlpriv->cfg->name, 0, 0); |
229 | INIT_DELAYED_WORK(&rtlpriv->works.watchdog_wq, | 229 | INIT_DELAYED_WORK(&rtlpriv->works.watchdog_wq, |
230 | (void *)rtl_watchdog_wq_callback); | 230 | (void *)rtl_watchdog_wq_callback); |
231 | INIT_DELAYED_WORK(&rtlpriv->works.ips_nic_off_wq, | 231 | INIT_DELAYED_WORK(&rtlpriv->works.ips_nic_off_wq, |