net/mlx4: Replace mlx4_en_mac_to_u64() with mlx4_mac_to_u64()
authorEugenia Emantayev <eugenia@mellanox.com>
Sun, 2 Mar 2014 08:25:01 +0000 (10:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Mar 2014 01:04:01 +0000 (20:04 -0500)
commit9813337a4b16ea5b1701b1d00f7e410f5decdfa5
tree5f30aea8b73c5b5e2348f6d2f42ec69e54a90f9b
parent15bffdffccb3204eb1e993f60eee65c439a03136
net/mlx4: Replace mlx4_en_mac_to_u64() with mlx4_mac_to_u64()

Currently, the EN driver uses a private static function
mlx4_en_mac_to_u64(). Move it to a common include file (driver.h)
for mlx4_en and mlx4_ib for further use.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
include/linux/mlx4/driver.h