diff options
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 2d87deda79cd..59c55ea0f0b5 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
| @@ -434,6 +434,7 @@ int regmap_update_bits_check_async(struct regmap *map, unsigned int reg, | |||
| 434 | bool *change); | 434 | bool *change); |
| 435 | int regmap_get_val_bytes(struct regmap *map); | 435 | int regmap_get_val_bytes(struct regmap *map); |
| 436 | int regmap_get_max_register(struct regmap *map); | 436 | int regmap_get_max_register(struct regmap *map); |
| 437 | int regmap_get_reg_stride(struct regmap *map); | ||
| 437 | int regmap_async_complete(struct regmap *map); | 438 | int regmap_async_complete(struct regmap *map); |
| 438 | bool regmap_can_raw_write(struct regmap *map); | 439 | bool regmap_can_raw_write(struct regmap *map); |
| 439 | 440 | ||
| @@ -683,6 +684,12 @@ static inline int regmap_get_max_register(struct regmap *map) | |||
| 683 | return -EINVAL; | 684 | return -EINVAL; |
| 684 | } | 685 | } |
| 685 | 686 | ||
| 687 | static inline int regmap_get_reg_stride(struct regmap *map) | ||
| 688 | { | ||
| 689 | WARN_ONCE(1, "regmap API is disabled"); | ||
| 690 | return -EINVAL; | ||
| 691 | } | ||
| 692 | |||
| 686 | static inline int regcache_sync(struct regmap *map) | 693 | static inline int regcache_sync(struct regmap *map) |
| 687 | { | 694 | { |
| 688 | WARN_ONCE(1, "regmap API is disabled"); | 695 | WARN_ONCE(1, "regmap API is disabled"); |
