sfc: move NIC-specific mcdi_port declarations out of common header
authorEdward Cree <ecree@solarflare.com>
Tue, 30 Jun 2020 12:02:24 +0000 (13:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 20:09:09 +0000 (13:09 -0700)
commit83d00531cbc837ab354e9ab429d49539797c7f1c
tree724b350d22873353daa26ef75a631c1f43477444
parent1d074bee675b9129e35b4ff1c94e025861db73a2
sfc: move NIC-specific mcdi_port declarations out of common header

These functions are implemented in mcdi_port.c, which will not be linked
 into the EF100 driver; thus their prototypes should not be visible in
 common header files.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/mcdi.h
drivers/net/ethernet/sfc/mcdi_port.c
drivers/net/ethernet/sfc/mcdi_port.h [new file with mode: 0644]
drivers/net/ethernet/sfc/siena.c