]> Gentwo Git Trees - linux/.git/commit
Bluetooth: Fix build after header cleanup
authorCalvin Owens <calvin@wbinvd.org>
Tue, 2 Sep 2025 15:43:44 +0000 (08:43 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sat, 20 Sep 2025 14:57:44 +0000 (10:57 -0400)
commit1c5091a9b4c990a6fcf8de7d0e97dba4cf878f17
tree3e84d1159f95da7ccf2bbe99138e9a6f822242c4
parentb65678cacc030efd53c38c089fb9b741a2ee34c8
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>
drivers/bluetooth/Kconfig
drivers/bluetooth/hci_uart.h