]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: efx_default_channel_type APIs can be static
authorMartin Habets <habetsm.xilinx@gmail.com>
Mon, 11 Apr 2022 11:27:10 +0000 (12:27 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 12 Apr 2022 10:13:30 +0000 (12:13 +0200)
commit599018c56598cbd062e41820dfd6ffc495dfb798
treed175b0f8db92b8dab0acfa2989b5a9a03ad75e67
parent92f35f0cc9a3b6db3c1ca07c9b6dd53345173db6
sfc: efx_default_channel_type APIs can be static

This means we can remove them from efx_channel.h and avoid
naming conflicts later.
efx_channel_dummy_op_void() cannot be static as it is
used in ef100_nic.c.

Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/sfc/efx_channels.c
drivers/net/ethernet/sfc/efx_channels.h