From: David Bauer Date: Sun, 26 Apr 2020 11:37:42 +0000 (+0200) Subject: kernel: netdev: fix kmod-sfp symbols X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=822c342d09e20e04677841730755c06c8d6efdfa;p=openwrt%2Fstaging%2Fwigyori.git kernel: netdev: fix kmod-sfp symbols Fixes: ec2f7a47d379 ("kernel: add module to support SFP cages") Signed-off-by: David Bauer --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 16e7215c60..26a22e9007 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -1164,8 +1164,8 @@ define KernelPackage/sfp TITLE:=SFP cage support DEPENDS:=+kmod-i2c-core +kmod-hwmon-core +kmod-phylink KCONFIG:= \ - CONFIG_SFP=m \ - CONFIG_MDIO_I2C=m + CONFIG_SFP \ + CONFIG_MDIO_I2C FILES:= \ $(LINUX_DIR)/drivers/net/phy/sfp.ko \ $(LINUX_DIR)/drivers/net/phy/mdio-i2c.ko