From: Hauke Mehrtens Date: Sat, 29 Jan 2022 16:32:42 +0000 (+0100) Subject: kernel: Make kmod-usb-net-lan78xx depend on kmod-of-mdio X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6cab21bd6d23407fb2dc4cf68015c4998839b5f7;p=openwrt%2Fstaging%2Fynezz.git 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 --- 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)