mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 02:00:53 +07:00
regmap: Add stub for regcache_sync_region()
Added on another branch. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
5d5b7d4f80
commit
a313f9f565
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user