aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-02-16 16:25:25 +0000
committerJohn Crispin <john@openwrt.org>2016-02-16 16:25:25 +0000
commit5d4acd4e92000f6324d65570b56406b696dcfafa (patch)
treeb14ddd912a85391be26053f73072769fe2cd91ac /package/kernel/linux
parent717bbc35504109373ca95c8db2be29148dd13a58 (diff)
downloadupstream-5d4acd4e92000f6324d65570b56406b696dcfafa.tar.gz
upstream-5d4acd4e92000f6324d65570b56406b696dcfafa.tar.bz2
upstream-5d4acd4e92000f6324d65570b56406b696dcfafa.zip
kernel: DSA is missing a OF dependend dep for mdio
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48727
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/dsa.mk3
1 files changed, 3 insertions, 0 deletions
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