summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/uhci-grlib.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-05-08 15:52:19 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-28 00:53:00 +0200
commit274f6afa298791df97fd37b7bc9d8327f5cf6ee9 (patch)
tree9727916a64ad8dc5cbdf305907c0198ef1a2b125 /drivers/usb/host/uhci-grlib.c
parentusb: dwc2: Add function to calculate correct FIFO sizes (diff)
downloadlinux-274f6afa298791df97fd37b7bc9d8327f5cf6ee9.tar.xz
linux-274f6afa298791df97fd37b7bc9d8327f5cf6ee9.zip
usb: xhci: avoid warning for !PM_SLEEP
If we build a kernel with PM_SUSPEND set and no PM_SLEEP, we get a build warning in the xhci-plat driver about unused functions. To fix this, use "#ifdef CONFIG_PM_SLEEP", like we do in most other drivers nowadays. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Mathias Nyman <mathias.nyman@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/uhci-grlib.c')
0 files changed, 0 insertions, 0 deletions