Skip to content

Commit f062b6e

Browse files
niklas88arndb
authored andcommitted
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>
1 parent fae41fe commit f062b6e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/bluetooth/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ config BT_HCIBFUSB
336336

337337
config BT_HCIDTL1
338338
tristate "HCI DTL1 (PC Card) driver"
339-
depends on PCMCIA
339+
depends on PCMCIA && HAS_IOPORT
340340
help
341341
Bluetooth HCI DTL1 (PC Card) driver.
342342
This driver provides support for Bluetooth PCMCIA devices with
@@ -349,7 +349,7 @@ config BT_HCIDTL1
349349

350350
config BT_HCIBT3C
351351
tristate "HCI BT3C (PC Card) driver"
352-
depends on PCMCIA
352+
depends on PCMCIA && HAS_IOPORT
353353
select FW_LOADER
354354
help
355355
Bluetooth HCI BT3C (PC Card) driver.
@@ -363,7 +363,7 @@ config BT_HCIBT3C
363363

364364
config BT_HCIBLUECARD
365365
tristate "HCI BlueCard (PC Card) driver"
366-
depends on PCMCIA
366+
depends on PCMCIA && HAS_IOPORT
367367
help
368368
Bluetooth HCI BlueCard (PC Card) driver.
369369
This driver provides support for Bluetooth PCMCIA devices with

0 commit comments

Comments
 (0)