From: John Crispin Date: Tue, 16 Feb 2016 16:25:25 +0000 (+0000) Subject: kernel: DSA is missing a OF dependend dep for mdio X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5d4acd4e92000f6324d65570b56406b696dcfafa;p=openwrt%2Fstaging%2Fdangole.git kernel: DSA is missing a OF dependend dep for mdio Signed-off-by: John Crispin SVN-Revision: 48727 --- diff --git a/package/kernel/linux/modules/dsa.mk b/package/kernel/linux/modules/dsa.mk index 5f19a3f7b4..72dd93513c 100644 --- a/package/kernel/linux/modules/dsa.mk +++ b/package/kernel/linux/modules/dsa.mk @@ -19,6 +19,9 @@ define KernelPackage/dsa 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