usb: musb: dsps: compile suspend/resume only with PM_SLEEP
authorWolfram Sang <wsa@sang-engineering.com>
Thu, 17 Apr 2014 08:20:32 +0000 (10:20 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Apr 2014 19:07:30 +0000 (14:07 -0500)
commit5b7839836109a802b144a05cfbd4f57e6564d8e5
tree5b432a53aca344e2d3281514747a16de795a4dcd
parent9f58fa4c919e1a33e3844f6851735ec9f724bf52
usb: musb: dsps: compile suspend/resume only with PM_SLEEP

Depending on PM is not enough, because only PM_RUNTIME could be
selected. Fixes:

drivers/usb/musb/musb_dsps.c:703:12: warning: 'dsps_suspend' defined but not used [-Wunused-function]
drivers/usb/musb/musb_dsps.c:721:12: warning: 'dsps_resume' defined but not used [-Wunused-function]

Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c