diff options
-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) | |||
280 | return -EINVAL; | 280 | return -EINVAL; |
281 | } | 281 | } |
282 | 282 | ||
283 | static inline int regcache_sync_region(struct regmap *map, unsigned int min, | ||
284 | unsigned int max) | ||
285 | { | ||
286 | WARN_ONCE(1, "regmap API is disabled"); | ||
287 | return -EINVAL; | ||
288 | } | ||
289 | |||
283 | static inline void regcache_cache_only(struct regmap *map, bool enable) | 290 | static inline void regcache_cache_only(struct regmap *map, bool enable) |
284 | { | 291 | { |
285 | WARN_ONCE(1, "regmap API is disabled"); | 292 | WARN_ONCE(1, "regmap API is disabled"); |