]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mlxsw: pci: Rename header with HW definitions
authorJiri Pirko <jiri@mellanox.com>
Thu, 27 Oct 2016 13:12:58 +0000 (15:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Oct 2016 17:45:51 +0000 (13:45 -0400)
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>
drivers/net/ethernet/mellanox/mlxsw/pci.c
drivers/net/ethernet/mellanox/mlxsw/pci_hw.h [moved from drivers/net/ethernet/mellanox/mlxsw/pci.h with 97% similarity]

index c88f2ab90a3923c7570b8c8eb7b6a49f4b9fadc2..209630c98ef7df881c5ca6c3d24629481c7741ea 100644 (file)
@@ -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"
similarity index 97%
rename from drivers/net/ethernet/mellanox/mlxsw/pci.h
rename to drivers/net/ethernet/mellanox/mlxsw/pci_hw.h
index d942a3e6fa4151cbc10f4207b25c95ea8aa734c6..45bc19790be491d3e49ba94217f6af3e1c5d2294 100644 (file)
@@ -1,7 +1,7 @@
 /*
- * drivers/net/ethernet/mellanox/mlxsw/pci.h
- * Copyright (c) 2015 Mellanox Technologies. All rights reserved.
- * Copyright (c) 2015 Jiri Pirko <jiri@mellanox.com>
+ * drivers/net/ethernet/mellanox/mlxsw/pci_hw.h
+ * Copyright (c) 2015-2016 Mellanox Technologies. All rights reserved.
+ * Copyright (c) 2015-2016 Jiri Pirko <jiri@mellanox.com>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -32,8 +32,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef _MLXSW_PCI_H
-#define _MLXSW_PCI_H
+#ifndef _MLXSW_PCI_HW_H
+#define _MLXSW_PCI_HW_H
 
 #include <linux/bitops.h>