[openwrt/openwrt] kernel: fix kmod-switch-rtl8366-smi dependency

LEDE Commits lede-commits at lists.infradead.org
Thu May 10 01:23:19 PDT 2018


blogic pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/dc629d9cf5afc03f67a294078ca1001e831c66c9

commit dc629d9cf5afc03f67a294078ca1001e831c66c9
Author: John Crispin <john at phrozen.org>
AuthorDate: Thu May 10 10:22:19 2018 +0200

    kernel: fix kmod-switch-rtl8366-smi dependency
    
    Signed-off-by: John Crispin <john at phrozen.org>
---
 package/kernel/linux/modules/netdevices.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 23939b6..f5e6d3d 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -209,7 +209,7 @@ $(eval $(call KernelPackage,switch-ip17xx))
 define KernelPackage/switch-rtl8366-smi
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=Realtek RTL8366 SMI switch interface support
-  DEPENDS:=@GPIO_SUPPORT +kmod-swconfig
+  DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +CONFIG_OF:kmod-of-mdio
   KCONFIG:=CONFIG_RTL8366_SMI
   FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
   AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi)



More information about the lede-commits mailing list