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


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at