kernel: Make kmod-phylink depend on kmod-libphy
[openwrt/openwrt.git] / package / kernel / linux / modules / netdevices.mk
index 934ba3c4f2d2edbcdbc00f1a1253e33404bc00a2..948902cf6365febfdc3dee8dbbd2b7a085e07350 100644 (file)
@@ -111,6 +111,7 @@ $(eval $(call KernelPackage,libphy))
 define KernelPackage/phylink
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=Model for MAC to optional PHY connection
+  DEPENDS:=+kmod-libphy
   KCONFIG:=CONFIG_PHYLINK
   FILES:=$(LINUX_DIR)/drivers/net/phy/phylink.ko
   AUTOLOAD:=$(call AutoLoad,15,phylink,1)