summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-08-26 08:35:38 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-28 15:41:15 -0700
commit10bfec0a2b4b9d3b81e09b43266ebe370bb17760 (patch)
tree51a4d6c984a060062807d3994b6579bb16a6cf11 /drivers/hv
parentae0078fcf0a5eb3a8623bfb5f988262e0911fdb9 (diff)
mlxsw: spectrum: compile-in dpipe support only if devlink is enabled
Makes no sense to have dpipe compiled in when devlink is not enabled, because the devlink dpipe registation is noop function. So don't compile it in. This also fixes missing extern structs errors. Reported-by: kbuild test robot <fengguang.wu@intel.com> Fixes: a86f030915f2 ("mlxsw: spectrum_dpipe: Add support for IPv4 host table dump") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions