diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-23 19:49:43 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-01 11:10:30 +0000 |
commit | a313f9f565d84f2fcc81c818a6b0baaae752a821 (patch) | |
tree | 1825ed690c13607fd707e2866c097b91e926af9f /include/linux/regmap.h | |
parent | 5d5b7d4f80ed6e861c1c220fd57e3dad0912526e (diff) |
regmap: Add stub for regcache_sync_region()
Added on another branch.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r-- | include/linux/regmap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 42c69e75b131..33d5f1d9f882 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -280,6 +280,13 @@ static inline int regcache_sync(struct regmap *map) return -EINVAL; } +static inline int regcache_sync_region(struct regmap *map, unsigned int min, + unsigned int max) +{ + WARN_ONCE(1, "regmap API is disabled"); + return -EINVAL; +} + static inline void regcache_cache_only(struct regmap *map, bool enable) { WARN_ONCE(1, "regmap API is disabled"); |