From 822c342d09e20e04677841730755c06c8d6efdfa Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sun, 26 Apr 2020 13:37:42 +0200 Subject: [PATCH] kernel: netdev: fix kmod-sfp symbols Fixes: ec2f7a47d379 ("kernel: add module to support SFP cages") Signed-off-by: David Bauer --- package/kernel/linux/modules/netdevices.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1