]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: adjust Kconfig to fix build errors
authorOded Gabbay <oded.gabbay@gmail.com>
Sat, 2 Mar 2019 09:32:12 +0000 (11:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 2 Mar 2019 11:03:56 +0000 (12:03 +0100)
commitcf6cc6c6ef9b3995582a2c83b89de5335a9b27ed
tree20b517636a912f2f179069ff8518e5aecdc1544d
parent8e0667c2bd2612597641e238a5458120f322fbe9
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: kbuild test robot <lkp@intel.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/habanalabs/Kconfig