diff options
| author | Zijun Hu <zijun.hu@oss.qualcomm.com> | 2026-09-13 19:46:45 -0700 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-09-15 15:44:52 -0400 |
| commit | a8059b65701ee89316b15de1e76fe1cddf9ea42b (patch) | |
| tree | edb78164bf8f8cd6817a7b8a52c838ea80ec15f0 | |
| parent | cadd8f14b15c66ff491f9fe9125adead20bb3467 (diff) | |
| download | linux-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/Makefile | 2 | ||||
| -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 |
