From 788154eb44e710b065081b737295ce10a4a8c05f Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 1 May 2021 11:58:47 +0200 Subject: [PATCH] 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 (cherry picked from commit 95b210e513d6d369444df41b522f749f1d848048) --- package/kernel/linux/modules/netdevices.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 967cbf11df..1d310751df 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -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