summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/port.c
diff options
context:
space:
mode:
authorAchiad Shochat <achiad@mellanox.com>2016-02-22 18:17:23 +0200
committerDavid S. Miller <davem@davemloft.net>2016-02-24 13:50:20 -0500
commitada68c31ba9c02d7aabdd87db979fe670b499d54 (patch)
tree8886c0b359530842aeafb2b5fc547b8074034db3 /drivers/net/ethernet/mellanox/mlx5/core/port.c
parente5fbfc1c2d7657eafed645727cb5d74731f6d68c (diff)
downloadlinux-ada68c31ba9c02d7aabdd87db979fe670b499d54.tar.bz2
net/mlx5: Introduce a new header file for physical port functions
All the device physical port access functions are implemented in the port.c file. We just extract the exposure of these functions from driver.h into a dedicated header file called port.h. Signed-off-by: Achiad Shochat <achiad@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/port.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/port.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/port.c b/drivers/net/ethernet/mellanox/mlx5/core/port.c
index a87e773e93f3..1e863216ac4a 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/port.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/port.c
@@ -32,6 +32,7 @@
#include <linux/module.h>
#include <linux/mlx5/driver.h>
+#include <linux/mlx5/port.h>
#include <linux/mlx5/cmd.h>
#include "mlx5_core.h"