net/mlx4: fixing sparse warnings for not declared, functions
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Tue, 6 Mar 2012 04:04:47 +0000 (04:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Mar 2012 20:19:18 +0000 (15:19 -0500)
commit9a9a232a9295deb3b6b5f4ce4290a7d05ff061fa
tree2e63b1c1ecfe665579222829446358f58f980650
parent2ab573c586446ebab9d7a3e340bd4ff8fc2c70d4
net/mlx4: fixing sparse warnings for not declared, functions

The SET_PORT functions are implemented in port.c, which is part
of mlx4_core, these functions are exported. The functions are in use by
the mlx4_en module (were originally part of mlx4_en).
Their declaration remained in mlx4_en module, moving the declaration to the right location.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
include/linux/mlx4/device.h