diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2013-10-11 21:33:04 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-10-14 13:39:59 -0400 |
commit | 448a71cc747d5d18a126a1214bf4db3ec1ea1e05 (patch) | |
tree | a7fbb90fa26b6728223a8f6ef362635f009583bf /drivers/net/wireless/mwifiex/main.c | |
parent | e4744ec78669926000e47e6ec78b987c0b2f10e9 (diff) |
mwifiex: use alloc_workqueue() function
It replaces deprecated create_workqueue().
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.c')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwifiex/main.c b/drivers/net/wireless/mwifiex/main.c index fd778337deee..408f307694aa 100644 --- a/drivers/net/wireless/mwifiex/main.c +++ b/drivers/net/wireless/mwifiex/main.c | |||
@@ -880,7 +880,9 @@ mwifiex_add_card(void *card, struct semaphore *sem, | |||
880 | adapter->cmd_wait_q.status = 0; | 880 | adapter->cmd_wait_q.status = 0; |
881 | adapter->scan_wait_q_woken = false; | 881 | adapter->scan_wait_q_woken = false; |
882 | 882 | ||
883 | adapter->workqueue = create_workqueue("MWIFIEX_WORK_QUEUE"); | 883 | adapter->workqueue = |
884 | alloc_workqueue("MWIFIEX_WORK_QUEUE", | ||
885 | WQ_HIGHPRI | WQ_MEM_RECLAIM | WQ_UNBOUND, 1); | ||
884 | if (!adapter->workqueue) | 886 | if (!adapter->workqueue) |
885 | goto err_kmalloc; | 887 | goto err_kmalloc; |
886 | 888 | ||