[PATCH 1/2] kernel: Make kmod-usb-net-lan78xx depend on kmod-of-mdio
Hauke Mehrtens
hauke at hauke-m.de
Sun Jan 30 08:26:30 PST 2022
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 9671b803333b..f74c02a99fb2 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)
--
2.30.2
More information about the openwrt-devel
mailing list