diff options
author | Mark Brown <broonie@kernel.org> | 2014-11-18 19:45:51 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-19 11:28:14 +0100 |
commit | 22853223d15b3a626de62cf9e40ce2d3881bc0a8 (patch) | |
tree | dc1338281d7ca9831ea57f0b705ce14fd09f76bf /drivers/base/regmap/Kconfig | |
parent | Linux 3.18-rc1 (diff) | |
download | linux-22853223d15b3a626de62cf9e40ce2d3881bc0a8.tar.xz linux-22853223d15b3a626de62cf9e40ce2d3881bc0a8.zip |
regmap: ac97: Add generic AC'97 callbacks
Use the recently added support for bus operations to provide a standard
mapping for AC'97 register I/O.
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/base/regmap/Kconfig')
-rw-r--r-- | drivers/base/regmap/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/base/regmap/Kconfig b/drivers/base/regmap/Kconfig index 8a3f51f7b1b9..db9d00c36a3e 100644 --- a/drivers/base/regmap/Kconfig +++ b/drivers/base/regmap/Kconfig @@ -3,12 +3,15 @@ # subsystems should select the appropriate symbols. config REGMAP - default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_MMIO || REGMAP_IRQ) + default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ) select LZO_COMPRESS select LZO_DECOMPRESS select IRQ_DOMAIN if REGMAP_IRQ bool +config REGMAP_AC97 + tristate + config REGMAP_I2C tristate depends on I2C |