diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-24 23:48:04 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-24 23:48:04 +0400 |
commit | 55f7f090a6a44d4a8158f7f27951653c9fcff16b (patch) | |
tree | 0403937c1c7a98973bf849b40bb5595aa0d0b0f1 /include | |
parent | e8770dd878970140b7ef486ec0fe86d43eb50265 (diff) | |
parent | 22f0d90a34827812413bb3fbeda6a2a79bb58423 (diff) | |
download | linux-55f7f090a6a44d4a8158f7f27951653c9fcff16b.tar.xz |
Merge tag 'regmap-patch-initial' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap into for-3.4
regmap: Inital export of the patching implementation
An initial export of the regmap register patch implementation, mostly
for integration into ASoC so it can be used by drivers there which have
conflicting updates already.
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/regmap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index eb93921cdd30..860739a8a6dd 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -149,6 +149,9 @@ void regcache_cache_only(struct regmap *map, bool enable); void regcache_cache_bypass(struct regmap *map, bool enable); void regcache_mark_dirty(struct regmap *map); +int regmap_register_patch(struct regmap *map, const struct reg_default *regs, + int num_regs); + /** * Description of an IRQ for the generic regmap irq_chip. * |