net/sfc/base: fix build because of no declaration
authorAndrew Rybchenko <arybchenko@solarflare.com>
Mon, 10 Sep 2018 09:33:07 +0000 (10:33 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000 (01:41 +0200)
commit5d23ac47e940f78bf6d95e6e52d3e0b9c486b8dd
treeef28df4f228cf39bed1150e32347d218c52b0665
parentf64f2a47f0512e7bd47606f5214a583fa9b4f79b
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 <arybchenko@solarflare.com>
drivers/net/sfc/base/mcdi_mon.c