net/mlx4_en: Fix compilation error when CONFIG_INET isn't defined
authorHadar Hen Zion <hadarh@mellanox.com>
Mon, 4 Feb 2013 03:01:21 +0000 (03:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Feb 2013 18:26:50 +0000 (13:26 -0500)
commitf9d96862cacd1177d76d82f70f88ac57cb05e6e0
tree72f1ba10902c434df4053ef312d006f176413d44
parent377d97393d93cca146937058986050a30857eec7
net/mlx4_en: Fix compilation error when CONFIG_INET isn't defined

ip_eth_mc_map function can't be used when CONFIG_INET isn't defined.
Fixed compilation error by adding CONFIG_INET define check before using the
function.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c