summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/Kconfig
diff options
context:
space:
mode:
authorCalvin Owens <calvin@wbinvd.org>2025-09-02 08:43:44 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-09-20 10:57:44 -0400
commit1c5091a9b4c990a6fcf8de7d0e97dba4cf878f17 (patch)
tree3e84d1159f95da7ccf2bbe99138e9a6f822242c4 /drivers/bluetooth/Kconfig
parentb65678cacc030efd53c38c089fb9b741a2ee34c8 (diff)
downloadlinux-1c5091a9b4c990a6fcf8de7d0e97dba4cf878f17.tar.gz
linux-1c5091a9b4c990a6fcf8de7d0e97dba4cf878f17.tar.bz2
linux-1c5091a9b4c990a6fcf8de7d0e97dba4cf878f17.zip
Bluetooth: Fix build after header cleanup
Some Kconfig dependencies are needed after my recent cleanup, since the core code has its own option. Since btmtksdio does not actually call h4_recv_buf(), move the definitions it uses outside the BT_HCIUART_H4 gate in hci_uart.h to avoid adding a dependency for btmtksdio. The rest I touched (bpa10x, btmtkuart, and btnxpuart) do really call h4_recv_buf(), so the dependency is required, add it for them. Fixes: 0e272fc7e17d ("Bluetooth: remove duplicate h4_recv_buf() in header") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202508300413.OnIedvRh-lkp@intel.com/ Signed-off-by: Calvin Owens <calvin@wbinvd.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/bluetooth/Kconfig')
-rw-r--r--drivers/bluetooth/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig
index 4ab32abf0f48..7df69ccb6600 100644
--- a/drivers/bluetooth/Kconfig
+++ b/drivers/bluetooth/Kconfig
@@ -312,7 +312,9 @@ config BT_HCIBCM4377
config BT_HCIBPA10X
tristate "HCI BPA10x USB driver"
+ depends on BT_HCIUART
depends on USB
+ select BT_HCIUART_H4
help
Bluetooth HCI BPA10x USB driver.
This driver provides support for the Digianswer BPA 100/105 Bluetooth
@@ -437,8 +439,10 @@ config BT_MTKSDIO
config BT_MTKUART
tristate "MediaTek HCI UART driver"
+ depends on BT_HCIUART
depends on SERIAL_DEV_BUS
depends on USB || !BT_HCIBTUSB_MTK
+ select BT_HCIUART_H4
select BT_MTK
help
MediaTek Bluetooth HCI UART driver.
@@ -483,7 +487,9 @@ config BT_VIRTIO
config BT_NXPUART
tristate "NXP protocol support"
+ depends on BT_HCIUART
depends on SERIAL_DEV_BUS
+ select BT_HCIUART_H4
select CRC32
select CRC8
help