]> git.baikalelectronics.ru Git - kernel.git/commit
sfc/siena: Rename functions in nic_common.h to avoid conflicts with sfc
authorMartin Habets <habetsm.xilinx@gmail.com>
Mon, 9 May 2022 15:32:58 +0000 (16:32 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 May 2022 22:38:15 +0000 (15:38 -0700)
commit67f9f3b5c30d01f1837af256b0dee86609171fd4
tree88cb0c9a20f676672aff17a64c6dd46fb2f77ae0
parent514019e9e47db7aa0223bfc2847c245c165ac020
sfc/siena: Rename functions in nic_common.h to avoid conflicts with sfc

For siena use efx_siena_ as the function prefix.
efx_nic_update_stats_atomic is only used in efx_common.c, so move
it there.
efx_nic_copy_stats is not used in Siena, so it is removed.

Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
14 files changed:
drivers/net/ethernet/sfc/siena/efx.c
drivers/net/ethernet/sfc/siena/efx_common.c
drivers/net/ethernet/sfc/siena/ethtool.c
drivers/net/ethernet/sfc/siena/farch.c
drivers/net/ethernet/sfc/siena/mcdi_mon.c
drivers/net/ethernet/sfc/siena/mcdi_port_common.c
drivers/net/ethernet/sfc/siena/nic.c
drivers/net/ethernet/sfc/siena/nic_common.h
drivers/net/ethernet/sfc/siena/ptp.c
drivers/net/ethernet/sfc/siena/selftest.c
drivers/net/ethernet/sfc/siena/siena.c
drivers/net/ethernet/sfc/siena/siena_sriov.c
drivers/net/ethernet/sfc/siena/tx.c
drivers/net/ethernet/sfc/siena/tx_common.c