linux_dsm_epyc7002/drivers/net/ethernet/micrel
Wei Yongjun ffa76e38b7 ksz884x: mark pcidev_suspend() as __maybe_unused
In certain configurations without power management support, gcc report
the following warning:

drivers/net/ethernet/micrel/ksz884x.c:7182:12: warning:
 'pcidev_suspend' defined but not used [-Wunused-function]
 7182 | static int pcidev_suspend(struct device *dev_d)
      |            ^~~~~~~~~~~~~~

Mark pcidev_suspend() as __maybe_unused to make it clear.

Fixes: 64120615d1 ("ksz884x: use generic power management")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-02 14:23:32 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ks8842.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
ks8851_common.c net: ks8851: Separate SPI operations into separate file 2020-05-28 16:30:04 -07:00
ks8851_par.c net: ks8851: Implement Parallel bus operations 2020-05-28 16:30:04 -07:00
ks8851_spi.c net: ks8851: Separate SPI operations into separate file 2020-05-28 16:30:04 -07:00
ks8851.h net: ks8851: Separate SPI operations into separate file 2020-05-28 16:30:04 -07:00
ksz884x.c ksz884x: mark pcidev_suspend() as __maybe_unused 2020-07-02 14:23:32 -07:00
Makefile net: ks8851: Implement Parallel bus operations 2020-05-28 16:30:04 -07:00