summaryrefslogtreecommitdiffstats
path: root/drivers/base/regmap/Kconfig
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-20 20:02:29 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-07-23 08:56:39 +0200
commit9943fa300a5dcd4536e9a4aa5c09cf94e5e7b28c (patch)
treed846756bbc3feb9ffd8d3d2b6aa7ff876c39d367 /drivers/base/regmap/Kconfig
parentregmap: Add generic non-memory mapped register access API (diff)
downloadlinux-9943fa300a5dcd4536e9a4aa5c09cf94e5e7b28c.tar.xz
linux-9943fa300a5dcd4536e9a4aa5c09cf94e5e7b28c.zip
regmap: Add I2C bus support
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Grant Likely <grant.likely@secretlab.ca>
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