summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZijun Hu <zijun.hu@oss.qualcomm.com>2026-09-13 19:46:45 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-09-15 15:44:52 -0400
commita8059b65701ee89316b15de1e76fe1cddf9ea42b (patch)
treeedb78164bf8f8cd6817a7b8a52c838ea80ec15f0
parentcadd8f14b15c66ff491f9fe9125adead20bb3467 (diff)
downloadlinux-next-a8059b65701ee89316b15de1e76fe1cddf9ea42b.tar.gz
linux-next-a8059b65701ee89316b15de1e76fe1cddf9ea42b.zip
Bluetooth: btusb: Build the driver from multiple source files
Allow the driver to include vendor USB-transport-specific source files by: - renaming btusb.c to btusb_main.c - making btusb.o a composite object Used by Qualcomm QCC2072 support. Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-rw-r--r--drivers/bluetooth/Makefile2
-rw-r--r--drivers/bluetooth/btusb_main.c (renamed from drivers/bluetooth/btusb.c)0
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bluetooth/Makefile b/drivers/bluetooth/Makefile
index e6b1c1180d1d..8b436c6de8b7 100644
--- a/drivers/bluetooth/Makefile
+++ b/drivers/bluetooth/Makefile
@@ -51,4 +51,6 @@ hci_uart-$(CONFIG_BT_HCIUART_MRVL) += hci_mrvl.o
hci_uart-$(CONFIG_BT_HCIUART_AML) += hci_aml.o
hci_uart-objs := $(hci_uart-y)
+btusb-y := btusb_main.o
+
CONTEXT_ANALYSIS := y
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb_main.c
index 5efcf31e432b..5efcf31e432b 100644
--- a/drivers/bluetooth/btusb.c
+++ b/drivers/bluetooth/btusb_main.c