summaryrefslogtreecommitdiff
path: root/fs/mount.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-09-23 13:19:41 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-09-26 20:49:01 (GMT)
commit0a29b3dafbb2fc46421cc2950523814c7c6c8bfb (patch)
tree4e0cb844ac0877925589276c6be4814a3e163ad0 /fs/mount.h
parent8280bf00fdd87de876c4add5fa8ed05c18c78a2f (diff)
downloadlinux-0a29b3dafbb2fc46421cc2950523814c7c6c8bfb.tar.xz
net: bcmgenet: Fix compile warning
bcmgenet_wol_resume() is only used in bcmgenet_resume(), which is only defined when CONFIG_PM_SLEEP is enabled. This leads to the following compile warning when building with !CONFIG_PM_SLEEP: drivers/net/ethernet/broadcom/genet/bcmgenet.c:1967:12: warning: ‘bcmgenet_wol_resume’ defined but not used [-Wunused-function] Since bcmgenet_resume() is the only user of bcmgenet_wol_resume(), fix this by directly inlining the function there. Reported-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions