From: Arnd Bergmann Date: Thu, 8 May 2014 13:52:19 +0000 (+0200) Subject: usb: xhci: avoid warning for !PM_SLEEP X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=274f6afa298791df97fd37b7bc9d8327f5cf6ee9;p=pandora-kernel.git 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 Cc: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed