diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-02 08:35:18 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-02 08:35:18 +0400 |
commit | 54fc5a1ad81d3c7c7553b6d3dff0fc51d8ac2bbd (patch) | |
tree | c08f81b4a947f5cc15e41fe8c3392d6907cb8453 /include | |
parent | 9f07f658c45faece684479f2447c21011ca64e9a (diff) | |
parent | f55ec27f48a833febe8c78453bac55bb14e2cc4a (diff) | |
download | linux-54fc5a1ad81d3c7c7553b6d3dff0fc51d8ac2bbd.tar.xz |
Merge remote-tracking branch 'asoc/topic/wm2200' into asoc-next
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/regmap.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index e3bcc3f4dcb8..9f228d7f7ac4 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -133,7 +133,7 @@ struct regmap_config { enum regmap_endian val_format_endian; const struct regmap_range_cfg *ranges; - unsigned int n_ranges; + unsigned int num_ranges; }; /** @@ -142,6 +142,8 @@ struct regmap_config { * 1. page selector register update; * 2. access through data window registers. * + * @name: Descriptive name for diagnostics + * * @range_min: Address of the lowest register address in virtual range. * @range_max: Address of the highest register in virtual range. * @@ -153,6 +155,8 @@ struct regmap_config { * @window_len: Number of registers in data window. */ struct regmap_range_cfg { + const char *name; + /* Registers of virtual address range */ unsigned int range_min; unsigned int range_max; |