diff -drupN a/drivers/bluetooth/Makefile b/drivers/bluetooth/Makefile --- a/drivers/bluetooth/Makefile 2018-08-06 17:23:04.000000000 +0300 +++ b/drivers/bluetooth/Makefile 2022-06-12 05:28:14.000000000 +0300 @@ -13,6 +13,7 @@ obj-$(CONFIG_BT_HCIBLUECARD) += bluecard obj-$(CONFIG_BT_HCIBTUART) += btuart_cs.o obj-$(CONFIG_BT_HCIBTUSB) += btusb.o +obj-$(CONFIG_BT_RTKBTUSB) += rtk_btusb.o obj-$(CONFIG_BT_HCIBTSDIO) += btsdio.o obj-$(CONFIG_BT_INTEL) += btintel.o @@ -28,6 +29,12 @@ obj-$(CONFIG_BT_QCA) += btqca.o btmrvl-y := btmrvl_main.o btmrvl-$(CONFIG_DEBUG_FS) += btmrvl_debugfs.o +obj-$(CONFIG_BCM_BT_LPM) += bcm_btlpm.o +obj-$(CONFIG_RTL_BT_LPM) += rtl_btlpm.o + +obj-$(CONFIG_XR_BT_LPM) += xradio_btlpm.o +obj-$(CONFIG_XR_BT_FDI) += xradio_btfdi.o + hci_uart-y := hci_ldisc.o hci_uart-$(CONFIG_BT_HCIUART_H4) += hci_h4.o hci_uart-$(CONFIG_BT_HCIUART_BCSP) += hci_bcsp.o @@ -41,4 +48,9 @@ hci_uart-$(CONFIG_BT_HCIUART_AG6XX) += h hci_uart-$(CONFIG_BT_HCIUART_MRVL) += hci_mrvl.o hci_uart-objs := $(hci_uart-y) +hci_uart-y += rtk_coex.o +hci_uart-$(CONFIG_BT_HCIUART_RTL3WIRE) += hci_rtk_h5.o ccflags-y += -D__CHECK_ENDIAN__ +ccflags-y += -Wno-discarded-qualifiers +ccflags-y += -Wno-unused-function +ccflags-y += -Wno-unused-variable