diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-08 13:55:23 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-12 18:46:47 +0400 |
commit | 154881e59b8dbf84121e3e78c4e613e840752aa9 (patch) | |
tree | 882edae69649d9dc69bbd1d172b298db17d16ed5 /include/linux/regmap.h | |
parent | 697e85bc6a9aa44ecd73392586fe9cfd7e0467ba (diff) |
regmap: Make regmap_check_range_table() a public API
Allow drivers to use an access table as part of their implementation.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regmap.h')
-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 5067ee94eb9..d6f3221e29d 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -400,6 +400,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); +bool regmap_check_range_table(struct regmap *map, unsigned int reg, + const struct regmap_access_table *table); + int regmap_register_patch(struct regmap *map, const struct reg_default *regs, int num_regs); |