diff options
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r-- | include/linux/regmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 60a65cd7e1a0..cf8e4cffd386 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h | |||
@@ -20,6 +20,12 @@ | |||
20 | struct i2c_client; | 20 | struct i2c_client; |
21 | struct spi_device; | 21 | struct spi_device; |
22 | 22 | ||
23 | /** | ||
24 | * Configuration for the register map of a device. | ||
25 | * | ||
26 | * @reg_bits: Number of bits in a register address, mandatory. | ||
27 | * @val_bits: Number of bits in a register value, mandatory. | ||
28 | */ | ||
23 | struct regmap_config { | 29 | struct regmap_config { |
24 | int reg_bits; | 30 | int reg_bits; |
25 | int val_bits; | 31 | int val_bits; |