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 | |
parent | d4d5dc3d6f86cc70f08e45b840f3e681588d2718 (diff) | |
download | kernel_samsung_smdk4412-3d986b25b5faa50ba6afd94f60f270b6c3061e5e.zip kernel_samsung_smdk4412-3d986b25b5faa50ba6afd94f60f270b6c3061e5e.tar.gz kernel_samsung_smdk4412-3d986b25b5faa50ba6afd94f60f270b6c3061e5e.tar.bz2 |
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>
-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 77fa59a..f6cc073 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) /* <2> work queue */ rtlpriv->works.hw = hw; - rtlpriv->works.rtl_wq = create_workqueue(rtlpriv->cfg->name); + rtlpriv->works.rtl_wq = alloc_workqueue(rtlpriv->cfg->name, 0, 0); INIT_DELAYED_WORK(&rtlpriv->works.watchdog_wq, (void *)rtl_watchdog_wq_callback); INIT_DELAYED_WORK(&rtlpriv->works.ips_nic_off_wq, |