[PATCH] misc: rmi-i2c: Select regmap in Kconfig

Andi Shyti posted 1 patch 2 months, 1 week ago
drivers/misc/amd-sbi/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] misc: rmi-i2c: Select regmap in Kconfig
Posted by Andi Shyti 2 months, 1 week ago
The driver depends on REGMAP but does not explicitly select it.
Without CONFIG_REGMAP enabled, the build fails. Fix this by
selecting REGMAP in Kconfig.

Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
---
 drivers/misc/amd-sbi/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/amd-sbi/Kconfig b/drivers/misc/amd-sbi/Kconfig
index 4840831c84ca..2074f5f38da2 100644
--- a/drivers/misc/amd-sbi/Kconfig
+++ b/drivers/misc/amd-sbi/Kconfig
@@ -2,6 +2,7 @@
 config AMD_SBRMI_I2C
 	tristate "AMD side band RMI support"
 	depends on I2C
+	select REGMAP
 	help
 	  Side band RMI over I2C support for AMD out of band management.
 
-- 
2.50.0