linux_dsm_epyc7002/drivers/net/ethernet/mediatek
Arnd Bergmann f99c0646ef mtk-star-emac: mark PM functions as __maybe_unused
Without CONFIG_PM, the compiler warns about two unused functions:

drivers/net/ethernet/mediatek/mtk_star_emac.c:1472:12: error: unused function 'mtk_star_suspend' [-Werror,-Wunused-function]
drivers/net/ethernet/mediatek/mtk_star_emac.c:1488:12: error: unused function 'mtk_star_resume' [-Werror,-Wunused-function]

Mark these as __maybe_unused.

Fixes: 8c7bd5a454 ("net: ethernet: mtk-star-emac: new driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-27 11:32:39 -07:00
..
Kconfig net: ethernet: mtk-star-emac: new driver 2020-05-22 14:20:11 -07:00
Makefile net: ethernet: mtk-star-emac: new driver 2020-05-22 14:20:11 -07:00
mtk_eth_path.c net: mediatek: remove unneeded semicolon 2019-10-28 16:36:24 -07:00
mtk_eth_soc.c net: mediatek: Fix use correct return type for ndo_start_xmit() 2020-05-06 14:19:42 -07:00
mtk_eth_soc.h net: ethernet: mediatek: move mt7623 settings out off the mt7530 2020-04-07 18:28:28 -07:00
mtk_sgmii.c net: mediatek: remove unneeded semicolon 2019-10-28 16:36:24 -07:00
mtk_star_emac.c mtk-star-emac: mark PM functions as __maybe_unused 2020-05-27 11:32:39 -07:00