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 <stijn@linux-ipv6.be>
(cherry picked from commit 3cb22b277a)
This commit is contained in:
Stijn Tintel 2021-07-22 16:37:12 +03:00 committed by Tianling Shen
parent 788154eb44
commit 1c3e741e29
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -1178,7 +1178,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