Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

usb: add HAS_IOPORT dependencies

In a future patch HAS_IOPORT=n will result in inb()/outb() and friends
not being declared. We thus need to add HAS_IOPORT as dependency for
those drivers using them.

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/20230522105049.1467313-37-schnelle@linux.ibm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Niklas Schnelle and committed by
Greg Kroah-Hartman
be3d5a49 c3ff12a9

+2 -2
+2 -2
drivers/usb/host/Kconfig
··· 376 376 377 377 config USB_ISP1362_HCD 378 378 tristate "ISP1362 HCD support" 379 - depends on HAS_IOMEM 379 + depends on HAS_IOPORT 380 380 depends on COMPILE_TEST # nothing uses this 381 381 help 382 382 Supports the Philips ISP1362 chip as a host controller ··· 578 578 579 579 config USB_UHCI_HCD 580 580 tristate "UHCI HCD (most Intel and VIA) support" 581 - depends on USB_PCI || USB_UHCI_SUPPORT_NON_PCI_HC 581 + depends on (USB_PCI && HAS_IOPORT) || USB_UHCI_SUPPORT_NON_PCI_HC 582 582 help 583 583 The Universal Host Controller Interface is a standard by Intel for 584 584 accessing the USB hardware in the PC (which is also called the USB