From: Jiri Pirko Date: Thu, 27 Oct 2016 13:12:58 +0000 (+0200) Subject: mlxsw: pci: Rename header with HW definitions X-Git-Tag: v5.15~12359^2~398^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62e86f9e828128ce6452a2d8ab4a26609885dda6;p=platform%2Fkernel%2Flinux-starfive.git 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 Reviewed-by: Ido Schimmel Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/mellanox/mlxsw/pci.c b/drivers/net/ethernet/mellanox/mlxsw/pci.c index c88f2ab..209630c 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/pci.c +++ b/drivers/net/ethernet/mellanox/mlxsw/pci.c @@ -48,7 +48,7 @@ #include #include -#include "pci.h" +#include "pci_hw.h" #include "core.h" #include "cmd.h" #include "port.h" diff --git a/drivers/net/ethernet/mellanox/mlxsw/pci.h b/drivers/net/ethernet/mellanox/mlxsw/pci_hw.h similarity index 97% rename from drivers/net/ethernet/mellanox/mlxsw/pci.h rename to drivers/net/ethernet/mellanox/mlxsw/pci_hw.h index d942a3e..45bc1979 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/pci.h +++ b/drivers/net/ethernet/mellanox/mlxsw/pci_hw.h @@ -1,7 +1,7 @@ /* - * drivers/net/ethernet/mellanox/mlxsw/pci.h - * Copyright (c) 2015 Mellanox Technologies. All rights reserved. - * Copyright (c) 2015 Jiri Pirko + * drivers/net/ethernet/mellanox/mlxsw/pci_hw.h + * Copyright (c) 2015-2016 Mellanox Technologies. All rights reserved. + * Copyright (c) 2015-2016 Jiri Pirko * * 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