summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-08-13 23:50:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-04 14:52:45 +0100
commitcbc38304947ea2e57440bb38b733613e3f003605 (patch)
tree68347a1a5dd87bdbcc5480f0aed049bf3f414290 /scripts
parent726f05951941cc88e91b25b98921182cfc8d45f7 (diff)
downloadlinux-exynos-cbc38304947ea2e57440bb38b733613e3f003605.tar.gz
linux-exynos-cbc38304947ea2e57440bb38b733613e3f003605.tar.bz2
linux-exynos-cbc38304947ea2e57440bb38b733613e3f003605.zip
net: stmmac: mark PM functions as __maybe_unused
[ Upstream commit 81a8b0799632627b587af31ecd06112397e4ec36 ] The newly added suspend/resume functions cause a build warning when CONFIG_PM is disabled: drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c:324:12: error: 'stmmac_pci_resume' defined but not used [-Werror=unused-function] drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c:306:12: error: 'stmmac_pci_suspend' defined but not used [-Werror=unused-function] Mark them as __maybe_unused so gcc can drop them silently. Fixes: b7d0f08e9129 ("net: stmmac: Fix WoL for PCI-based setups") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions