diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-19 13:22:14 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-19 14:06:37 -0400 |
commit | 92afb286d744511f51a05f8acb6c111d05737617 (patch) | |
tree | 4453e7f7ba9b9bbc2ff8fbce64b2fe3a3b81f809 /include/linux/regmap.h | |
parent | 39a58439d6006c48941511276c0041f56352c529 (diff) |
regmap: Allow drivers to control cache_only flag
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r-- | include/linux/regmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 63b30752adfd..76ac255a17a5 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
@@ -141,4 +141,6 @@ int regmap_update_bits(struct regmap *map, unsigned int reg, | |||
141 | unsigned int mask, unsigned int val); | 141 | unsigned int mask, unsigned int val); |
142 | 142 | ||
143 | int regcache_sync(struct regmap *map); | 143 | int regcache_sync(struct regmap *map); |
144 | void regcache_cache_only(struct regmap *map, bool enable); | ||
145 | |||
144 | #endif | 146 | #endif |