usb: dwc3: of-simple: fix build warning on !PM
authorFelipe Balbi <balbi@ti.com>
Wed, 23 Dec 2015 03:56:10 +0000 (21:56 -0600)
committerFelipe Balbi <balbi@ti.com>
Wed, 23 Dec 2015 03:58:26 +0000 (21:58 -0600)
commit5072cfc40a80cea3749fd3413b3896630d8c787e
tree54eda0ed1728e9e1743f0b7feecd6b827cc2a06a
parentd9261898a4b2c143c28568dc686a1becfc637a99
usb: dwc3: of-simple: fix build warning on !PM

if we have a !PM kernel build, our runtime
suspend/resume callbacks will be left defined but
unused. Add a ifdef CONFIG_PM guard.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-of-simple.c