aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2021-03-03 14:24:17 +0000
committerPetr Štetiar <ynezz@true.cz>2021-03-05 14:41:14 +0100
commit9a20c844f4a5dd5acd8feb9309986142fb9c14f3 (patch)
treecb18c8fd4729ef7c20b153cb582c90944844cfe5 /package/kernel
parentfc61a87c2990fa90ed7e468bf0b85a8bb1fcd2f7 (diff)
downloadupstream-9a20c844f4a5dd5acd8feb9309986142fb9c14f3.tar.gz
upstream-9a20c844f4a5dd5acd8feb9309986142fb9c14f3.tar.bz2
upstream-9a20c844f4a5dd5acd8feb9309986142fb9c14f3.zip
kernel/modules: fix CDC NCM dependencies
CDC NCM support only depends on CDC Ethernet with Linux 5.10. Fix thusly. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/usb.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index e7498af31c..9ef3fb5974 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1387,7 +1387,7 @@ define KernelPackage/usb-net-cdc-ncm
KCONFIG:=CONFIG_USB_NET_CDC_NCM
FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko
AUTOLOAD:=$(call AutoProbe,cdc_ncm)
- $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
+ $(call AddDepends/usb-net,+!LINUX_5_4:kmod-usb-net-cdc-ether)
endef
define KernelPackage/usb-net-cdc-ncm/description