aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorJérémy Lefaure <[email protected]>2017-01-04 00:13:49 +0000
committerGreg Kroah-Hartman <[email protected]>2017-01-05 18:18:05 +0000
commitc8bd2ac3b4c6c84c4a7cdceaed626247db698ab2 (patch)
tree817c8ab3829cdd798b195904c661a02a3ab7b7d0 /drivers/fpga/fpga-bridge.c
parentusb: musb: Fix trying to free already-free IRQ 4 (diff)
downloadkernel-c8bd2ac3b4c6c84c4a7cdceaed626247db698ab2.tar.gz
kernel-c8bd2ac3b4c6c84c4a7cdceaed626247db698ab2.zip
usb: musb: fix compilation warning on unused function
The function musb_run_resume_work is called only when CONFIG_PM is enabled. So this function should not be defined when CONFIG_PM is disabled. Otherwise the compiler issues a warning: drivers/usb/musb/musb_core.c:2057:12: error: ‘musb_run_resume_work’ defined but not used [-Werror=unused-function] static int musb_run_resume_work(struct musb *musb) ^~~~~~~~~~~~~~~~~~~~ Signed-off-by: Jérémy Lefaure <[email protected]> Signed-off-by: Bin Liu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions