diff options
author | John Crispin <blogic@openwrt.org> | 2016-02-16 16:25:25 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-02-16 16:25:25 +0000 |
commit | 630c39b5b77affbc96c77f10e9f7d669de00394d (patch) | |
tree | 72f9a673aadd5b33356828e40b2cd2df1b0cd1dd | |
parent | 53c98d91aa4205c15f392e55b048c51a35ac125d (diff) | |
download | master-187ad058-630c39b5b77affbc96c77f10e9f7d669de00394d.tar.gz master-187ad058-630c39b5b77affbc96c77f10e9f7d669de00394d.tar.bz2 master-187ad058-630c39b5b77affbc96c77f10e9f7d669de00394d.zip |
kernel: DSA is missing a OF dependend dep for mdio
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48727 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/linux/modules/dsa.mk | 3 |
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 |