ff2ef9021e
Impact: Include the header file. If CONFIG_SFC_MTD is not defined then the functions 'efx_mtd_remove' and 'efx_mtd_rename' are defined 'static inline' with an empty function body in the header file, but the the whole file mtd.c is not built in this case. Fix this sparse warnings: drivers/net/sfc/mtd.c:204:6: warning: symbol 'efx_mtd_remove' was not declared. Should it be static? drivers/net/sfc/mtd.c:221:6: warning: symbol 'efx_mtd_rename' was not declared. Should it be static? drivers/net/sfc/mtd.c:230:5: warning: symbol 'efx_mtd_probe' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
bitfield.h | ||
boards.c | ||
boards.h | ||
efx.c | ||
efx.h | ||
enum.h | ||
ethtool.c | ||
ethtool.h | ||
falcon_gmac.c | ||
falcon_hwdefs.h | ||
falcon_io.h | ||
falcon_xmac.c | ||
falcon.c | ||
falcon.h | ||
gmii.h | ||
Kconfig | ||
mac.h | ||
Makefile | ||
mdio_10g.c | ||
mdio_10g.h | ||
mtd.c | ||
net_driver.h | ||
phy.h | ||
rx.c | ||
rx.h | ||
selftest.c | ||
selftest.h | ||
sfe4001.c | ||
spi.h | ||
tenxpress.c | ||
tx.c | ||
tx.h | ||
workarounds.h | ||
xenpack.h | ||
xfp_phy.c |