[PATCH] misc: amd-sbi: Add missing dependency on REGMAP_I2C

Mike Pagano posted 1 patch 1 month, 1 week ago
drivers/misc/amd-sbi/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] misc: amd-sbi: Add missing dependency on REGMAP_I2C
Posted by Mike Pagano 1 month, 1 week ago
This driver requires REGMAP_I2C to be selected in order to get
access to devm_regmap_init_i2c.

Add the missing dependency.

Signed-off-by: Mike Pagano <mpagano@gentoo.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 4840831c84..4aae0733d0 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_I2C
 	help
 	  Side band RMI over I2C support for AMD out of band management.
 
-- 
2.49.1