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

Bluetooth: add HAS_IOPORT dependencies

In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
compile time. 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>
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Niklas Schnelle and committed by
Arnd Bergmann
f062b6ec fae41fe1

+3 -3
+3 -3
drivers/bluetooth/Kconfig
··· 336 336 337 337 config BT_HCIDTL1 338 338 tristate "HCI DTL1 (PC Card) driver" 339 - depends on PCMCIA 339 + depends on PCMCIA && HAS_IOPORT 340 340 help 341 341 Bluetooth HCI DTL1 (PC Card) driver. 342 342 This driver provides support for Bluetooth PCMCIA devices with ··· 349 349 350 350 config BT_HCIBT3C 351 351 tristate "HCI BT3C (PC Card) driver" 352 - depends on PCMCIA 352 + depends on PCMCIA && HAS_IOPORT 353 353 select FW_LOADER 354 354 help 355 355 Bluetooth HCI BT3C (PC Card) driver. ··· 363 363 364 364 config BT_HCIBLUECARD 365 365 tristate "HCI BlueCard (PC Card) driver" 366 - depends on PCMCIA 366 + depends on PCMCIA && HAS_IOPORT 367 367 help 368 368 Bluetooth HCI BlueCard (PC Card) driver. 369 369 This driver provides support for Bluetooth PCMCIA devices with