mlxsw: spectrum: Remove misuses of private header file
authorIdo Schimmel <idosch@mellanox.com>
Thu, 11 Oct 2018 07:47:49 +0000 (07:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 17:08:22 +0000 (10:08 -0700)
commitbf341eb895411f36582a905d4a646b387a0d1fc3
tree1d4568500fb5749a1642bf435a39b9870f093be6
parentdf92062e495a0ffcebe8c14af5309aa5a145bc8a
mlxsw: spectrum: Remove misuses of private header file

The spectrum_router.h header file is private to the router block and
should only be included by direct consumers of it, such as dpipe and the
multicast routing code.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c