android_kernel_xiaomi_sm8350/drivers/net/sfc
Hannes Eder ff2ef9021e drivers/net/sfc: fix sparse warnings: Should it be static?
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>
2009-02-18 17:49:50 -08:00
..
bitfield.h net: replace uses of __constant_{endian} 2009-02-01 00:45:17 -08:00
boards.c
boards.h
efx.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-01-30 14:31:07 -08:00
efx.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-01-30 14:31:07 -08:00
enum.h
ethtool.c sfc: SFX7101/SFT9001: Fix AN advertisements 2009-01-30 14:06:32 -08:00
ethtool.h
falcon_gmac.c
falcon_hwdefs.h
falcon_io.h
falcon_xmac.c
falcon.c sfc: Replace stats_enabled flag with a disable count 2009-01-30 14:06:33 -08:00
falcon.h
gmii.h
Kconfig
mac.h
Makefile
mdio_10g.c sfc: SFX7101/SFT9001: Fix AN advertisements 2009-01-30 14:06:32 -08:00
mdio_10g.h sfc: SFX7101/SFT9001: Fix AN advertisements 2009-01-30 14:06:32 -08:00
mtd.c drivers/net/sfc: fix sparse warnings: Should it be static? 2009-02-18 17:49:50 -08:00
net_driver.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-01-30 14:31:07 -08:00
phy.h
rx.c
rx.h
selftest.c sfc: Reinitialise the PHY completely in case of a PHY or NIC reset 2009-01-30 14:06:30 -08:00
selftest.h
sfe4001.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-01-30 14:31:07 -08:00
spi.h
tenxpress.c drivers/net/sfc: fix sparse warning: symbol shadows an earlier one 2009-02-17 17:37:59 -08:00
tx.c
tx.h
workarounds.h sfc: SFX7101/SFT9001: Fix AN advertisements 2009-01-30 14:06:32 -08:00
xenpack.h
xfp_phy.c