mlxsw: spectrum: mr_tcam: Include the mr_tcam header file
authorYotam Gigi <yotamg@mellanox.com>
Tue, 24 Oct 2017 09:17:17 +0000 (11:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Oct 2017 10:07:13 +0000 (19:07 +0900)
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>
drivers/net/ethernet/mellanox/mlxsw/spectrum_mr_tcam.c

index 39c21c7..34a0b63 100644 (file)
@@ -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"