xhci: Move xhci_pme_quirk() behind #ifdef CONFIG_PM
authorTomer Barletz <barletz@gmail.com>
Mon, 21 Sep 2015 14:46:11 +0000 (17:46 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Sep 2015 05:48:53 +0000 (22:48 -0700)
commit2b7627b73e81e5d23d5ae1490fe8e690af86e053
tree54494312364b887ea51ce7bb9a8f73d77a8737bf
parenta6809ffd1687b3a8c192960e69add559b9d32649
xhci: Move xhci_pme_quirk() behind #ifdef CONFIG_PM

xhci_pme_quirk() is only used when CONFIG_PM is defined.
Compiling a kernel without PM complains about this function

[reworded commit message -Mathias]
Cc: <stable@vger.kernel.org>
Signed-off-by: Tomer Barletz <barletz@gmail.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci.c