diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2012-03-05 23:04:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-06 15:19:18 -0500 |
commit | 9a9a232a9295deb3b6b5f4ce4290a7d05ff061fa (patch) | |
tree | 2e63b1c1ecfe665579222829446358f58f980650 /include/linux/mlx4 | |
parent | 2ab573c586446ebab9d7a3e340bd4ff8fc2c70d4 (diff) |
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>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r-- | include/linux/mlx4/device.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index aea61905499b..44d8144e9ae8 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
@@ -622,7 +622,10 @@ int mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac); | |||
622 | int mlx4_get_eth_qp(struct mlx4_dev *dev, u8 port, u64 mac, int *qpn); | 622 | int mlx4_get_eth_qp(struct mlx4_dev *dev, u8 port, u64 mac, int *qpn); |
623 | void mlx4_put_eth_qp(struct mlx4_dev *dev, u8 port, u64 mac, int qpn); | 623 | void mlx4_put_eth_qp(struct mlx4_dev *dev, u8 port, u64 mac, int qpn); |
624 | void mlx4_set_stats_bitmap(struct mlx4_dev *dev, u64 *stats_bitmap); | 624 | void mlx4_set_stats_bitmap(struct mlx4_dev *dev, u64 *stats_bitmap); |
625 | 625 | int mlx4_SET_PORT_general(struct mlx4_dev *dev, u8 port, int mtu, | |
626 | u8 pptx, u8 pfctx, u8 pprx, u8 pfcrx); | ||
627 | int mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn, | ||
628 | u8 promisc); | ||
626 | int mlx4_find_cached_vlan(struct mlx4_dev *dev, u8 port, u16 vid, int *idx); | 629 | int mlx4_find_cached_vlan(struct mlx4_dev *dev, u8 port, u16 vid, int *idx); |
627 | int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index); | 630 | int mlx4_register_vlan(struct mlx4_dev *dev, u8 port, u16 vlan, int *index); |
628 | void mlx4_unregister_vlan(struct mlx4_dev *dev, u8 port, int index); | 631 | void mlx4_unregister_vlan(struct mlx4_dev *dev, u8 port, int index); |