|
@@ -434,6 +434,7 @@ int regmap_update_bits_check_async(struct regmap *map, unsigned int reg,
|
|
|
bool *change);
|
|
|
int regmap_get_val_bytes(struct regmap *map);
|
|
|
int regmap_get_max_register(struct regmap *map);
|
|
|
+int regmap_get_reg_stride(struct regmap *map);
|
|
|
int regmap_async_complete(struct regmap *map);
|
|
|
bool regmap_can_raw_write(struct regmap *map);
|
|
|
|
|
@@ -683,6 +684,12 @@ static inline int regmap_get_max_register(struct regmap *map)
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
+static inline int regmap_get_reg_stride(struct regmap *map)
|
|
|
+{
|
|
|
+ WARN_ONCE(1, "regmap API is disabled");
|
|
|
+ return -EINVAL;
|
|
|
+}
|
|
|
+
|
|
|
static inline int regcache_sync(struct regmap *map)
|
|
|
{
|
|
|
WARN_ONCE(1, "regmap API is disabled");
|