[PATCH v4] Bluetooth: btmtk: Fix btmtk.c undefined reference build error

patchwork-bot+bluetooth at kernel.org patchwork-bot+bluetooth at kernel.org
Fri Jul 19 08:10:34 PDT 2024


Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz at intel.com>:

On Fri, 19 Jul 2024 11:30:19 +0800 you wrote:
> MediaTek moved some usb interface related function to btmtk.c which
> may cause build failed if BT USB Kconfig wasn't enabled.
> Fix undefined reference by adding config check.
> 
> btmtk.c:(.text+0x89c): undefined reference to `usb_alloc_urb'
> btmtk.c:(.text+0x8e3): undefined reference to `usb_free_urb'
> btmtk.c:(.text+0x956): undefined reference to `usb_free_urb'
> btmtk.c:(.text+0xa0e): undefined reference to `usb_anchor_urb'
> btmtk.c:(.text+0xb43): undefined reference to `usb_autopm_get_interface'
> btmtk.c:(.text+0xb7e): undefined reference to `usb_autopm_put_interface'
> btmtk.c:(.text+0xf70): undefined reference to `usb_disable_autosuspend'
> btmtk.c:(.text+0x133a): undefined reference to `usb_control_msg'
> 
> [...]

Here is the summary with links:
  - [v4] Bluetooth: btmtk: Fix btmtk.c undefined reference build error
    https://git.kernel.org/bluetooth/bluetooth-next/c/52828ea60dfd

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the Linux-mediatek mailing list