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

From: Andi Shyti
Date: Tue Jul 29 2025 - 20:52:57 EST


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@xxxxxxxxxx>
---
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