summaryrefslogtreecommitdiff
path: root/drivers/base/regmap/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/regmap/Kconfig')
-rw-r--r--drivers/base/regmap/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig
index fc0eb1d484dd..03cf1abed401 100644
--- a/drivers/base/regmap/Kconfig
+++ b/drivers/base/regmap/Kconfig
@@ -3,4 +3,8 @@
# subsystems should select the appropriate symbols.
config REGMAP
+ default y if REGMAP_I2C
bool
+
+config REGMAP_I2C
+ tristate