Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 142a0f83 authored by Oded Gabbay's avatar Oded Gabbay Committed by Greg Kroah-Hartman
Browse files

habanalabs: adjust Kconfig to fix build errors



The driver use the HWMON framework to display various sensors information.
Therefore, CONFIG_HWMON must be included to prevent build errors.

This patch adds "select HWMON" to the driver's Kconfig file to make sure
HWMON is built. In addition, to avoid breaking dependencies, it adds
dependency on HAS_IOMEM because HWMON is dependent on HAS_IOMEM.

Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dbbe358b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4,10 +4,11 @@

config HABANA_AI
	tristate "HabanaAI accelerators (habanalabs)"
	depends on PCI
	depends on PCI && HAS_IOMEM
	select FRAME_VECTOR
	select DMA_SHARED_BUFFER
	select GENERIC_ALLOCATOR
	select HWMON
	help
	  Enables PCIe card driver for Habana's AI Processors (AIP) that are
	  designed to accelerate Deep Learning inference and training workloads.