aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2021-05-01 11:58:47 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2021-05-01 12:00:41 +0200
commit95b210e513d6d369444df41b522f749f1d848048 (patch)
tree563e9b976bb53503cc8b3eaf01ab0bd25fba6e9f /package/kernel/linux
parenteeda8652f1655d4f9c11e9c9f51ddcd3377d119a (diff)
downloadupstream-95b210e513d6d369444df41b522f749f1d848048.tar.gz
upstream-95b210e513d6d369444df41b522f749f1d848048.tar.bz2
upstream-95b210e513d6d369444df41b522f749f1d848048.zip
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: f88c64d28ccf ("kernel: netdev: add qlcnic") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/netdevices.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 5308442003..8025fd2a95 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -1195,9 +1195,11 @@ $(eval $(call KernelPackage,mlx5-core))
define KernelPackage/qlcnic
SUBMENU:=$(NETWORK_DEVICES_MENU)
- DEPENDS:=@PCI_SUPPORT
+ 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