[openwrt/openwrt] kernel: Make kmod-usb-net-lan78xx depend on kmod-of-mdio
LEDE Commits
lede-commits at lists.infradead.org
Tue Feb 1 12:45:54 PST 2022
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/6cab21bd6d23407fb2dc4cf68015c4998839b5f7
commit 6cab21bd6d23407fb2dc4cf68015c4998839b5f7
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Jan 29 17:32:42 2022 +0100
kernel: Make kmod-usb-net-lan78xx depend on kmod-of-mdio
kmod-usb-net-lan78xx depends on kmod-of-mdio when this package is
activated.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/linux/modules/usb.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 9671b80333..f74c02a99f 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1203,7 +1203,7 @@ $(eval $(call KernelPackage,usb-net-kaweth))
define KernelPackage/usb-net-lan78xx
TITLE:=USB-To-Ethernet Microchip LAN78XX convertors
- DEPENDS:=+kmod-fixed-phy +kmod-phy-microchip
+ DEPENDS:=+kmod-fixed-phy +kmod-phy-microchip +PACKAGE_kmod-of-mdio:kmod-of-mdio
KCONFIG:=CONFIG_USB_LAN78XX
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/lan78xx.ko
AUTOLOAD:=$(call AutoProbe,lan78xx)
More information about the lede-commits
mailing list