From: Stijn Tintel Date: Thu, 22 Jul 2021 13:37:12 +0000 (+0300) Subject: kernel: add missing symbol to kmod-qlcnic X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3cb22b277a312445bfe34f5e32626c4448f95b77;p=openwrt%2Fstaging%2Fjow.git kernel: add missing symbol to kmod-qlcnic When the kmod-qlcnic package is built on targets that have CONFIG_PCI_IOV enabled, the CONFIG_QLCNIC_SRIOV symbol is exposed. Enable this symbol in the kmod package to fix its build. Signed-off-by: Stijn Tintel --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index b91442748d..6bbaf21e4a 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -1199,7 +1199,8 @@ define KernelPackage/qlcnic TITLE:=QLogic QLE8240 and QLE8242 device support KCONFIG:= \ CONFIG_QLCNIC \ - CONFIG_QLCNIC_HWMON=y + CONFIG_QLCNIC_HWMON=y \ + CONFIG_QLCNIC_SRIOV=y FILES:=$(LINUX_DIR)/drivers/net/ethernet/qlogic/qlcnic/qlcnic.ko AUTOLOAD:=$(call AutoProbe,qlcnic) endef