From: Andrew Rybchenko Date: Mon, 10 Sep 2018 09:33:07 +0000 (+0100) Subject: net/sfc/base: fix build because of no declaration X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5d23ac47e940f78bf6d95e6e52d3e0b9c486b8dd;p=dpdk.git net/sfc/base: fix build because of no declaration Functions declared in mcdi_mon.h are implemented in mcdi_mon.c. The build fails if compiler options require declaration before definition. Fixes: dfb3b1ce15f6 ("net/sfc/base: import monitors access via MCDI") Cc: stable@dpdk.org Signed-off-by: Andrew Rybchenko --- diff --git a/drivers/net/sfc/base/mcdi_mon.c b/drivers/net/sfc/base/mcdi_mon.c index 940bd02656..8c0b6f0d99 100644 --- a/drivers/net/sfc/base/mcdi_mon.c +++ b/drivers/net/sfc/base/mcdi_mon.c @@ -6,6 +6,7 @@ #include "efx.h" #include "efx_impl.h" +#include "mcdi_mon.h" #if EFSYS_OPT_MON_MCDI