All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] Bluetooth: btusb: Build the driver from multiple source files
@ 2026-07-15  4:36 Zijun Hu
  2026-07-15  6:30 ` [v2] " bluez.test.bot
  0 siblings, 1 reply; 2+ messages in thread
From: Zijun Hu @ 2026-07-15  4:36 UTC (permalink / raw)
  To: Marcel Holtmann, Luiz Augusto von Dentz
  Cc: Zijun Hu, linux-bluetooth, linux-kernel, Zijun Hu

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

Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com>
---
Changes in v2:
- Correct commit message
Link to v1:
https://lore.kernel.org/all/20260708-btusb_prep_qcc2072-v1-6-d835b187fd01@oss.qualcomm.com
---
 drivers/bluetooth/Makefile                  | 2 ++
 drivers/bluetooth/{btusb.c => btusb_main.c} | 0
 2 files changed, 2 insertions(+)

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

---
base-commit: eab19cb7618e5c50fd1f8c1efdc4e66e16575975
change-id: 20260714-btusb_main-3b04aad34cab
prerequisite-change-id: 20260708-btusb_prep_qcc2072-23604a4e81d1:v2
prerequisite-patch-id: 7f4ab6cfb6c064baaf08ec011468a81bf0f815f0
prerequisite-patch-id: 720e02fa1f62f6742d370179e23464a273663a9d
prerequisite-patch-id: 22999f84adb2fa448bf8babfe1842ab89ba4c869
prerequisite-patch-id: 64f5751b262c4592e1193fb53b827639377dbda8
prerequisite-patch-id: 40aad889451114ddb9683fa1ae158b2ab90c1d30

Best regards,
-- 
Zijun Hu <zijun.hu@oss.qualcomm.com>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-15  6:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-15  4:36 [PATCH v2] Bluetooth: btusb: Build the driver from multiple source files Zijun Hu
2026-07-15  6:30 ` [v2] " bluez.test.bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.