]> Git Repo - linux.git/commit - drivers/usb/dwc3/dwc3-pci.c
usb: dwc3: pci: avoid build warning
authorFelipe Balbi <[email protected]>
Wed, 16 Nov 2016 11:16:22 +0000 (13:16 +0200)
committerFelipe Balbi <[email protected]>
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 <[email protected]>
Reported-by: Arnd Bergmann <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
drivers/usb/dwc3/dwc3-pci.c
This page took 0.052372 seconds and 4 git commands to generate.