Re: [PATCH] xhci: fix warning when CONFIG_PM disabled.
From: Mathias Nyman
Date: Tue Sep 01 2015 - 03:51:48 EST
On 01.09.2015 00:26, Dave Hansen wrote:
From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
I have a .config with CONFIG_PM disabled. I get the following
whenever compiling the xhci driver:
drivers/usb/host/xhci-pci.c:192:13: warning: ‘xhci_pme_quirk’ defined but not used [-Wunused-function]
Looks like we just need to move xhci_pme_quirk() to be underneath
the CONFIG_PM #ifdef.
There is a patch for this already, I'll send it forward right after the merge window
http://marc.info/?l=linux-usb&m=143988457116356&w=2
-Mathias
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/