Sfoglia il codice sorgente

kernel: bluetooth: btmtk: update dependencies for 6.12

With kernel 6.11 several mtk usb functions were moved from btusb to
btmtk, adding a usb core depdendency to btmtk (if enabled).

Signed-off-by: Jonas Gorski <[email protected]>
Jonas Gorski 9 mesi fa
parent
commit
de980e67b6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      package/kernel/linux/modules/bluetooth.mk

+ 1 - 1
package/kernel/linux/modules/bluetooth.mk

@@ -84,7 +84,7 @@ define KernelPackage/btmtk
   SUBMENU:=$(BLUETOOTH_MENU)
   TITLE:=MTK Bluetooth support
   HIDDEN:=1
-  DEPENDS:=+kmod-bluetooth
+  DEPENDS:=+kmod-bluetooth +!LINUX_6_6&&USB_SUPPORT:kmod-usb-core
   KCONFIG:=CONFIG_BT_MTK
   FILES:=$(LINUX_DIR)/drivers/bluetooth/btmtk.ko
 endef