diff options
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r-- | include/linux/regmap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 73fc34d0c4c2..327b8f291d3f 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
@@ -311,6 +311,8 @@ typedef void (*regmap_hw_free_context)(void *context); | |||
311 | * @val_format_endian_default: Default endianness for formatted register | 311 | * @val_format_endian_default: Default endianness for formatted register |
312 | * values. Used when the regmap_config specifies DEFAULT. If this is | 312 | * values. Used when the regmap_config specifies DEFAULT. If this is |
313 | * DEFAULT, BIG is assumed. | 313 | * DEFAULT, BIG is assumed. |
314 | * @max_raw_read: Max raw read size that can be used on the bus. | ||
315 | * @max_raw_write: Max raw write size that can be used on the bus. | ||
314 | */ | 316 | */ |
315 | struct regmap_bus { | 317 | struct regmap_bus { |
316 | bool fast_io; | 318 | bool fast_io; |
@@ -325,6 +327,8 @@ struct regmap_bus { | |||
325 | u8 read_flag_mask; | 327 | u8 read_flag_mask; |
326 | enum regmap_endian reg_format_endian_default; | 328 | enum regmap_endian reg_format_endian_default; |
327 | enum regmap_endian val_format_endian_default; | 329 | enum regmap_endian val_format_endian_default; |
330 | size_t max_raw_read; | ||
331 | size_t max_raw_write; | ||
328 | }; | 332 | }; |
329 | 333 | ||
330 | struct regmap *regmap_init(struct device *dev, | 334 | struct regmap *regmap_init(struct device *dev, |