diff options
author | 2023-09-11 14:56:52 +0200 | |
---|---|---|
committer | 2023-10-02 16:19:12 +0200 | |
commit | 52e24f8c0a102ac76649c6b71224fadcc82bd5da (patch) | |
tree | 978e94df35b8fd19ede02f0aac4db060031fdf48 /include/linux/usb.h | |
parent | usb: pci-quirks: group AMD specific quirk code together (diff) | |
download | wireguard-linux-52e24f8c0a102ac76649c6b71224fadcc82bd5da.tar.xz wireguard-linux-52e24f8c0a102ac76649c6b71224fadcc82bd5da.zip |
usb: pci-quirks: handle HAS_IOPORT dependency for AMD quirk
In a future patch HAS_IOPORT=n will result in inb()/outb() and friends
not being declared. In the pci-quirks case the I/O port acceses are
used in the quirks for several AMD south bridges, Add a config option
for the AMD quirks to depend on HAS_IOPORT and #ifdef the quirk code.
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-3-schnelle@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb.h')
0 files changed, 0 insertions, 0 deletions