Commit 4487cf88 authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman

staging: ks7010: replace create_workqueue with alloc_workqueue

This commit replaces deprecated create_workqueue call with the
alloc_workqueue one which is the one to be used now for this
purpose.
Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 78c74a5f
...@@ -1041,7 +1041,7 @@ static int ks7010_sdio_probe(struct sdio_func *func, ...@@ -1041,7 +1041,7 @@ static int ks7010_sdio_probe(struct sdio_func *func,
priv->dev_state = DEVICE_STATE_BOOT; priv->dev_state = DEVICE_STATE_BOOT;
priv->wq = create_workqueue("wq"); priv->wq = alloc_workqueue("wq", WQ_MEM_RECLAIM, 1);
if (!priv->wq) { if (!priv->wq) {
netdev_err(priv->net_dev, "create_workqueue failed !!\n"); netdev_err(priv->net_dev, "create_workqueue failed !!\n");
goto err_free_netdev; goto err_free_netdev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment