summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-24 19:48:04 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-24 19:48:04 +0000
commit55f7f090a6a44d4a8158f7f27951653c9fcff16b (patch)
tree0403937c1c7a98973bf849b40bb5595aa0d0b0f1 /include/linux
parente8770dd878970140b7ef486ec0fe86d43eb50265 (diff)
parent22f0d90a34827812413bb3fbeda6a2a79bb58423 (diff)
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/linux')
-rw-r--r--include/linux/regmap.h3
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.
*