aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2020-12-08 19:55:35 +0000
committerPeter Chen <[email protected]>2020-12-29 04:36:13 +0000
commit28a25ba3e59263a66b2a2cd3e153351b2db2a6b6 (patch)
tree2369c5254eeebaae32e3cd57a506ffdf6e31ed19 /drivers/usb/cdns3/cdns3-gadget.c
parentusb: cdnsp: Mark cdnsp_gadget_ops with static keyword (diff)
downloadkernel-28a25ba3e59263a66b2a2cd3e153351b2db2a6b6.tar.gz
kernel-28a25ba3e59263a66b2a2cd3e153351b2db2a6b6.zip
usb: cdns3: fix build when PM_SLEEP is not set
Fix build error when CONFIG_PM_SLEEP is not enabled by adding stubs for the PM_SLEEP functions. ../drivers/usb/cdns3/cdns3-plat.c: In function ‘cdns3_controller_resume’: ../drivers/usb/cdns3/cdns3-plat.c:246:2: error: implicit declaration of function ‘cdns_resume’; did you mean ‘cdns_remove’? [-Werror=implicit-function-declaration] cdns_resume(cdns, !PMSG_IS_AUTO(msg)); ^~~~~~~~~~~ Signed-off-by: Randy Dunlap <[email protected]> Cc: Peter Chen <[email protected]> Cc: Pawel Laszczak <[email protected]> Cc: Roger Quadros <[email protected]> Cc: [email protected] Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Peter Chen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions