aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYotam Gigi <yotamg@mellanox.com>2017-10-24 11:17:17 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-24 19:07:13 +0900
commitea00aa3a27c3a52c5d2a1444a90e690d55b6c221 (patch)
tree28d728fd39d9f3359d610bc71d4b878cbb06fc3c /drivers
parentmlxsw: spectrum: mr: Make the function mlxsw_sp_mr_dev_vif_lookup static (diff)
downloadlinux-dev-ea00aa3a27c3a52c5d2a1444a90e690d55b6c221.tar.xz
linux-dev-ea00aa3a27c3a52c5d2a1444a90e690d55b6c221.zip
mlxsw: spectrum: mr_tcam: Include the mr_tcam header file
Make the spectrum_mr_tcam.c include the spectrum_mr_tcam.h header file. Cleans up sparse warning: symbol 'mlxsw_sp_mr_tcam_ops' was not declared. Should it be static? Fixes: 0e14c7777acb6 ("mlxsw: spectrum: Add the multicast routing hardware logic") Signed-off-by: Yotam Gigi <yotamg@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c
index 39c21c70ac32..34a0b632e5dd 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c
@@ -37,6 +37,7 @@
#include <linux/netdevice.h>
#include <linux/parman.h>
+#include "spectrum_mr_tcam.h"
#include "reg.h"
#include "spectrum.h"
#include "core_acl_flex_actions.h"