Author: blogic
Date: 2016-02-16 17:25:25 +0100 (Tue, 16 Feb 2016)
New Revision: 48727

Modified:
   trunk/package/kernel/linux/modules/dsa.mk
Log:
kernel: DSA is missing a OF dependend dep for mdio

Signed-off-by: John Crispin <[email protected]>

Modified: trunk/package/kernel/linux/modules/dsa.mk
===================================================================
--- trunk/package/kernel/linux/modules/dsa.mk   2016-02-16 16:25:16 UTC (rev 
48726)
+++ trunk/package/kernel/linux/modules/dsa.mk   2016-02-16 16:25:25 UTC (rev 
48727)
@@ -19,6 +19,9 @@
        CONFIG_NET_SWITCHDEV=y \
        CONFIG_NET_DSA_HWMON=n
   DEPENDS:=+kmod-libphy
+ifeq ($(CONFIG_OF),y)
+  DEPENDS+=+kmod-of-mdio
+endif
   FILES:=$(LINUX_DIR)/net/dsa/dsa_core.ko
   AUTOLOAD:=$(call AutoLoad,34,dsa_core)
 endef
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to