aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/ef10.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-06-30 13:02:24 +0100
committerDavid S. Miller <davem@davemloft.net>2020-06-30 13:09:09 -0700
commit83d00531cbc837ab354e9ab429d49539797c7f1c (patch)
tree724b350d22873353daa26ef75a631c1f43477444 /drivers/net/ethernet/sfc/ef10.c
parentMerge branch 'Convert-Broadcom-SF2-to-mac_link_up-resolved-state' (diff)
downloadlinux-dev-83d00531cbc837ab354e9ab429d49539797c7f1c.tar.xz
linux-dev-83d00531cbc837ab354e9ab429d49539797c7f1c.zip
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>
Diffstat (limited to 'drivers/net/ethernet/sfc/ef10.c')
-rw-r--r--drivers/net/ethernet/sfc/ef10.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/ef10.c b/drivers/net/ethernet/sfc/ef10.c
index efc49869320f..a3bf9d8023d7 100644
--- a/drivers/net/ethernet/sfc/ef10.c
+++ b/drivers/net/ethernet/sfc/ef10.c
@@ -10,6 +10,7 @@
#include "io.h"
#include "mcdi.h"
#include "mcdi_pcol.h"
+#include "mcdi_port.h"
#include "mcdi_port_common.h"
#include "mcdi_functions.h"
#include "nic.h"