usb: dwc3: pci: avoid build warning
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 16 Nov 2016 11:16:22 +0000 (13:16 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:52 +0000 (13:54 +0200)
commit36daf3aa399c08e7cdf499f5562888325f19f92f
treec1eb238ccb42afe016aee3a720bad616bbcb2a96
parent28632b44d129cd2dc677475197a01cced307cfc5
usb: dwc3: pci: avoid build warning

dwc3_pci_dsm() is only needed if (PM || PM_SLEEP),
we should make sure it's not defined if neither of
those is defined.

This fixes a randconfig build warning.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-pci.c