提交 a313f9f5 编写于 作者: M Mark Brown

regmap: Add stub for regcache_sync_region()

Added on another branch.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册