summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlxsw/pci.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2016-10-27 16:12:58 +0300
committerDavid S. Miller <davem@davemloft.net>2016-10-28 20:45:51 +0300
commit62e86f9e828128ce6452a2d8ab4a26609885dda6 (patch)
treef6a9a920d85014d1ade543299c8dea8bbe01b4d6 /drivers/net/ethernet/mellanox/mlxsw/pci.c
parent8c9583a81cd3fb51eff26a1459d00ffa5fdd4dbd (diff)
downloadlinux-62e86f9e828128ce6452a2d8ab4a26609885dda6.tar.xz
mlxsw: pci: Rename header with HW definitions
pci.h needs to be used for inner function declarations. So move the original one to more appropriate name, pci_hw.h. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/pci.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/pci.c b/drivers/net/ethernet/mellanox/mlxsw/pci.c
index c88f2ab90a39..209630c98ef7 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/pci.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/pci.c
@@ -48,7 +48,7 @@
#include <linux/seq_file.h>
#include <linux/string.h>
-#include "pci.h"
+#include "pci_hw.h"
#include "core.h"
#include "cmd.h"
#include "port.h"