usb: pci-quirks: group AMD specific quirk code together
authorNiklas Schnelle <schnelle@linux.ibm.com>
Mon, 11 Sep 2023 12:56:51 +0000 (14:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Oct 2023 14:19:12 +0000 (16:19 +0200)
commit7ca9f9ba8aa7380dee5dd8346b57bbaf198b075a
tree67ea1d9e7d5757e996b7c5be5b126193bb7a3a34
parent80920e21269265fd6fc5abf825af77ea2d100c8a
usb: pci-quirks: group AMD specific quirk code together

A follow on patch will introduce CONFIG_USB_PCI_AMD governing the AMD
quirk and adding its compile time dependency on HAS_IOPORT. In order to
minimize the number of #ifdefs in C files and make that patch easier
to read first group the code together. This is pure code movement
no functional change is intended.

Co-developed-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20230911125653.1393895-2-schnelle@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/pci-quirks.c
drivers/usb/host/pci-quirks.h