diff options
| author | Niklas Schnelle <[email protected]> | 2023-09-11 14:56:53 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-10-02 16:19:13 +0200 |
| commit | 358ad297e379ff548247e3e24c6619559942bfdd (patch) | |
| tree | 8c809dfcd2b1d56a2ab8fe39511e9c2047a36ecd /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 52e24f8c0a102ac76649c6b71224fadcc82bd5da (diff) | |
usb: pci-quirks: handle HAS_IOPORT dependency for UHCI handoff
In a future patch HAS_IOPORT=n will result in inb()/outb() and friends
not being declared. With the AMD quirk handled USB PCI quirks still use
inw() in uhci_check_and_reset_hc() and thus indirectly in
quirk_usb_handoff_uhci(). Handle this by conditionally compiling
uhci_check_and_reset_hc() and stubbing out quirk_usb_handoff_uhci() when
HAS_IOPORT is not available.
Co-developed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Niklas Schnelle <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions