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