summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_cbq.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-03-02 16:24:07 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-03 20:37:41 -0800
commit9cea322ec98d1bb94aaaa939508bb98dd0d30a2f (patch)
tree4c2bd5edc37522a60b2221b7789da1286adcf872 /net/sched/sch_cbq.c
parent9fc7c85dc49116cb8209321ae343a26b82b37d2f (diff)
downloadlinux-9cea322ec98d1bb94aaaa939508bb98dd0d30a2f.tar.bz2
phy: dm816x: use __maybe_unused to hide pm functions
The dm816x USB PHY driver uses UNIVERSAL_DEV_PM_OPS to access its suspend/resume functions, which causes a warning about unused symbols when CONFIG_PM is disabled: drivers/phy/phy-dm816x-usb.c:121:12: error: 'dm816x_usb_phy_runtime_suspend' defined but not used [-Werror=unused-function] drivers/phy/phy-dm816x-usb.c:139:12: error: 'dm816x_usb_phy_runtime_resume' defined but not used [-Werror=unused-function] This adds __maybe_unused annotations to let the compiler know it can silently drop the function definition. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sched/sch_cbq.c')
0 files changed, 0 insertions, 0 deletions