kernel: qlcnic: add dependency to kmod-hwmon-core

QLCNIC_HWMON was activated when hwmon was set, but the dependency was
missing. This broke the build bot builds. Fix this by explicitly
activating HWMON support and adding a dependency.

Fixes: f88c64d28c ("kernel: netdev: add qlcnic")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 95b210e513)
This commit is contained in:
Hauke Mehrtens 2021-05-01 11:58:47 +02:00 committed by Tianling Shen
parent 88dd5b530b
commit 788154eb44
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -1176,7 +1176,9 @@ define KernelPackage/qlcnic
SUBMENU:=$(NETWORK_DEVICES_MENU)
DEPENDS:=@PCI_SUPPORT +kmod-hwmon-core
TITLE:=QLogic QLE8240 and QLE8242 device support
KCONFIG:=CONFIG_QLCNIC
KCONFIG:= \
CONFIG_QLCNIC \
CONFIG_QLCNIC_HWMON=y
FILES:=$(LINUX_DIR)/drivers/net/ethernet/qlogic/qlcnic/qlcnic.ko
AUTOLOAD:=$(call AutoProbe,qlcnic)
endef