kernel: DSA is missing a OF dependend dep for mdio

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48727
This commit is contained in:
John Crispin 2016-02-16 16:25:25 +00:00
parent 717bbc3550
commit 5d4acd4e92

View File

@ -19,6 +19,9 @@ define KernelPackage/dsa
CONFIG_NET_SWITCHDEV=y \ CONFIG_NET_SWITCHDEV=y \
CONFIG_NET_DSA_HWMON=n CONFIG_NET_DSA_HWMON=n
DEPENDS:=+kmod-libphy DEPENDS:=+kmod-libphy
ifeq ($(CONFIG_OF),y)
DEPENDS+=+kmod-of-mdio
endif
FILES:=$(LINUX_DIR)/net/dsa/dsa_core.ko FILES:=$(LINUX_DIR)/net/dsa/dsa_core.ko
AUTOLOAD:=$(call AutoLoad,34,dsa_core) AUTOLOAD:=$(call AutoLoad,34,dsa_core)
endef endef