kernel: Make kmod-usb-net-lan78xx depend on kmod-of-mdio
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Jan 2022 16:32:42 +0000 (17:32 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 1 Feb 2022 20:25:02 +0000 (21:25 +0100)
kmod-usb-net-lan78xx depends on kmod-of-mdio when this package is
activated.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/linux/modules/usb.mk

index 9671b803333ba019c533c9425e47f3021f0943ef..f74c02a99fb2e0089c113f1b6bf5419a5d1a84cf 100644 (file)
@@ -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)