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

Change-Id: I6878e687fb210384244f0c9816673ca03c503c42
---
 drivers/net/ethernet/mellanox/mlx5/core/lib/eq.h | 7 +++++++
 1 file changed, 7 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
 struct cpumask *mlx5_eq_comp_cpumask(struct mlx5_core_dev *dev, int ix);
 
 u32 mlx5_eq_poll_irq_disabled(struct mlx5_eq_comp *eq);
@@ -98,6 +102,9 @@ void mlx5_debug_eq_remove(struct mlx5_co
 void mlx5_eq_debugfs_init(struct mlx5_core_dev *dev);
 void mlx5_eq_debugfs_cleanup(struct mlx5_core_dev *dev);
 
+#ifndef HAVE_PCI_IRQ_API
+u32 mlx5_get_msix_vec(struct mlx5_core_dev *dev, int vecidx);
+#endif
 /* This function should only be called after mlx5_cmd_force_teardown_hca */
 void mlx5_core_eq_free_irqs(struct mlx5_core_dev *dev);
 #ifdef CONFIG_RFS_ACCEL
