From be58267a34ae562a4a6932f68f1487bceb0345d7 Mon Sep 17 00:00:00 2001 From: Zijun Hu Date: Sun, 13 Sep 2026 19:46:45 -0700 Subject: [PATCH] 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 Signed-off-by: Luiz Augusto von Dentz --- drivers/bluetooth/Makefile | 2 ++ drivers/bluetooth/{btusb.c => btusb_main.c} | 0 2 files changed, 2 insertions(+) rename drivers/bluetooth/{btusb.c => btusb_main.c} (100%) 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 similarity index 100% rename from drivers/bluetooth/btusb.c rename to drivers/bluetooth/btusb_main.c