Commit a313f9f5 authored by Mark Brown's avatar Mark Brown

regmap: Add stub for regcache_sync_region()

Added on another branch.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 5d5b7d4f
......@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment