]> git.baikalelectronics.ru Git - kernel.git/commit
sfc/siena: Rename functions in efx headers to avoid conflicts with sfc
authorMartin Habets <habetsm.xilinx@gmail.com>
Mon, 9 May 2022 15:32:08 +0000 (16:32 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 May 2022 22:38:14 +0000 (15:38 -0700)
commit190d21d89dbee4247455bf4a82487c1d69df1812
tree392ca45d888dfa985641e4946cb48cd6b4cc8199
parent8ac5233bf89a5bf53fb591b27641cab5c7aab0fa
sfc/siena: Rename functions in efx headers to avoid conflicts with sfc

When building with allyesconfig there are many identical
symbol names.
For siena use efx_siena_ as the function and variable prefix
to avoid build errors.

efx_mtd_remove_partition can become static as it is no longer called
from other files.
efx_ticks_to_usecs and efx_xmit_done_single are not used in Siena, so
they are removed.
Several functions are only used inside efx_channels.c for Siena so
they can become static.

Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
23 files changed:
drivers/net/ethernet/sfc/siena/efx.c
drivers/net/ethernet/sfc/siena/efx.h
drivers/net/ethernet/sfc/siena/efx_channels.c
drivers/net/ethernet/sfc/siena/efx_channels.h
drivers/net/ethernet/sfc/siena/efx_common.c
drivers/net/ethernet/sfc/siena/efx_common.h
drivers/net/ethernet/sfc/siena/enum.h
drivers/net/ethernet/sfc/siena/ethtool.c
drivers/net/ethernet/sfc/siena/ethtool_common.c
drivers/net/ethernet/sfc/siena/farch.c
drivers/net/ethernet/sfc/siena/mcdi.c
drivers/net/ethernet/sfc/siena/mcdi_port_common.c
drivers/net/ethernet/sfc/siena/mtd.c
drivers/net/ethernet/sfc/siena/net_driver.h
drivers/net/ethernet/sfc/siena/rx.c
drivers/net/ethernet/sfc/siena/rx_common.c
drivers/net/ethernet/sfc/siena/rx_common.h
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
drivers/net/ethernet/sfc/siena/tx_common.h