]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2addd4c7acf60891b361a5bfefadad47fee3d03f
tree2e63b1c1ecfe665579222829446358f58f980650
parentc59c92f393f3fc6001b8e3cd6598e9b43c229fe4
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