]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55517a2c424f05e0309383297bd540ca339501d4
tree5b432a53aca344e2d3281514747a16de795a4dcd
parente2e89a7d746dae1c2d12c653976002e571a8c3bc
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