]> www.infradead.org Git - nvme.git/commit
Bluetooth: btmtk: Fix btmtk.c undefined reference build error harder
authorArnd Bergmann <arnd@arndb.de>
Mon, 22 Jul 2024 09:27:05 +0000 (11:27 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 26 Jul 2024 14:56:05 +0000 (10:56 -0400)
commit61f7a8f975456d7be21100ee0936389142b95a81
tree76662a7f0d26cea9f039ee67ee136d7f5a498657
parentf0c83a23fcbb424fdff5b38fbcdda3c04003a210
Bluetooth: btmtk: Fix btmtk.c undefined reference build error harder

The previous fix was incomplete as the link failure still persists
with CONFIG_USB=m when the sdio or serial wrappers for btmtk.c
are build-in:

btmtk.c:(.text+0x468): undefined reference to `usb_alloc_urb'
btmtk.c:(.text+0x488): undefined reference to `usb_free_urb'
btmtk.c:(.text+0x500): undefined reference to `usb_anchor_urb'
btmtk.c:(.text+0x50a): undefined reference to `usb_submit_urb'
btmtk.c:(.text+0x92c): undefined reference to `usb_control_msg'
btmtk.c:(.text+0xa92): undefined reference to `usb_unanchor_urb'
btmtk.c:(.text+0x11e4): undefined reference to `usb_set_interface'
btmtk.c:(.text+0x120a): undefined reference to `usb_kill_anchored_urbs'

Disallow this configuration.

Fixes: f0c83a23fcbb ("Bluetooth: btmtk: Fix btmtk.c undefined reference build error")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/Kconfig