regmap: Allow drivers to control cache_only flag

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Mark Brown 2011-09-19 18:22:14 +01:00
parent 39a58439d6
commit 92afb286d7
2 changed files with 20 additions and 0 deletions

View file

@ -141,4 +141,6 @@ int regmap_update_bits(struct regmap *map, unsigned int reg,
unsigned int mask, unsigned int val);
int regcache_sync(struct regmap *map);
void regcache_cache_only(struct regmap *map, bool enable);
#endif