From: Valentine Fatiev <valentinef@nvidia.com>
Subject: [PATCH] BACKPORT: drivers/net/ethernet/mellanox/mlx5/core/lib/eq.h

Change-Id: Id68b515f6439fdee45ae92adae7f2cbb6ef9a8ef
---
 drivers/net/ethernet/mellanox/mlx5/core/lib/eq.h | 4 ++++
 1 file changed, 4 insertions(+)

--- a/drivers/net/ethernet/mellanox/mlx5/core/lib/eq.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/lib/eq.h
@@ -84,7 +84,11 @@ int mlx5_eq_add_cq(struct mlx5_eq *eq, s
 void mlx5_eq_del_cq(struct mlx5_eq *eq, struct mlx5_core_cq *cq);
 struct mlx5_eq_comp *mlx5_eqn2comp_eq(struct mlx5_core_dev *dev, int eqn);
 struct mlx5_eq *mlx5_get_async_eq(struct mlx5_core_dev *dev);
+#ifdef HAVE_TASKLET_SETUP
 void mlx5_cq_tasklet_cb(struct tasklet_struct *t);
+#else
+void mlx5_cq_tasklet_cb(unsigned long data);
+#endif
 
 u32 mlx5_eq_poll_irq_disabled(struct mlx5_eq_comp *eq);
 void mlx5_cmd_eq_recover(struct mlx5_core_dev *dev);
