net/mlx5: Fix compilation warning in eq.c
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 21 Mar 2019 22:51:31 +0000 (15:51 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 22 Mar 2019 19:09:30 +0000 (12:09 -0700)
commit092ead48290b43afe5d548797c73b179dbaf6523
treebbbfab30b0e4aef7c5236d9a41e2a66608512c4d
parenteb5cc431f17bc7a656c9290743d1809ac43c1c47
net/mlx5: Fix compilation warning in eq.c

mlx5_eq_table_get_rmap is being used only when CONFIG_RFS_ACCEL is
enabled, this patch fixes the below warning when CONFIG_RFS_ACCEL is
disabled.

drivers/.../mlx5/core/eq.c:903:18: [-Werror=missing-prototypes]
error: no previous prototype for ‘mlx5_eq_table_get_rmap’

Fixes: f2f3df550139 ("net/mlx5: EQ, Privatize eq_table and friends")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eq.c