aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/ipoib/ipoib_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib_main.c')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c
index 85522daeb946..71114a8c12b9 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_main.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c
@@ -933,11 +933,11 @@ static void ipoib_setup(struct net_device *dev)
933 INIT_LIST_HEAD(&priv->dead_ahs); 933 INIT_LIST_HEAD(&priv->dead_ahs);
934 INIT_LIST_HEAD(&priv->multicast_list); 934 INIT_LIST_HEAD(&priv->multicast_list);
935 935
936 INIT_WORK(&priv->pkey_task, ipoib_pkey_poll, priv->dev); 936 INIT_DELAYED_WORK(&priv->pkey_task, ipoib_pkey_poll);
937 INIT_WORK(&priv->mcast_task, ipoib_mcast_join_task, priv->dev); 937 INIT_DELAYED_WORK(&priv->mcast_task, ipoib_mcast_join_task);
938 INIT_WORK(&priv->flush_task, ipoib_ib_dev_flush, priv->dev); 938 INIT_WORK(&priv->flush_task, ipoib_ib_dev_flush);
939 INIT_WORK(&priv->restart_task, ipoib_mcast_restart_task, priv->dev); 939 INIT_WORK(&priv->restart_task, ipoib_mcast_restart_task);
940 INIT_WORK(&priv->ah_reap_task, ipoib_reap_ah, priv->dev); 940 INIT_DELAYED_WORK(&priv->ah_reap_task, ipoib_reap_ah);
941} 941}
942 942
943struct ipoib_dev_priv *ipoib_intf_alloc(const char *name) 943struct ipoib_dev_priv *ipoib_intf_alloc(const char *name)