aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/buffer.c
diff options
context:
space:
mode:
authorAlan Stern <[email protected]>2015-04-22 16:11:59 +0000
committerGreg Kroah-Hartman <[email protected]>2015-05-07 23:43:43 +0000
commit3091fa77ffb1b91f4ac3ae005efe6213508f7ec1 (patch)
treeca1d78c5c43e977b1e24a90a4ddb25918f7d1b91 /drivers/usb/core/buffer.c
parentusb: Set unused ports to "fixed" rather than "unknown" (diff)
downloadkernel-3091fa77ffb1b91f4ac3ae005efe6213508f7ec1.tar.gz
kernel-3091fa77ffb1b91f4ac3ae005efe6213508f7ec1.zip
USB: don't build PCI quirks if USB support isn't configured
The USB PCI quirks code gets built into the kernel whenever CONFIG_PCI is enabled, even if CONFIG_USB is not set. This can cause unnecessary messages to show up in the kernel log, such as "CONFIG_USB_XHCI_HCD is turned off, defaulting to EHCI" (which makes no sense when the kernel has been configured without host-side USB support). This patch addresses the problem by building pci-quirks.o only when CONFIG_PCI and CONFIG_USB are both enabled. Signed-off-by: Alan Stern <[email protected]> Reported-by: Toralf Förster <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/buffer.c')
0 files changed, 0 insertions, 0 deletions