diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-03 12:40:47 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-15 09:59:59 +0900 |
commit | d058bb49618482f2eff0db57618c9a7352916dd5 (patch) | |
tree | b7b4a88a8f3bcceb14856ba09ddfa5e81e8f8b39 /include/linux/regmap.h | |
parent | 061adc064adbbdd9eb127ab2e86b7a71f4ccaf2e (diff) | |
download | lwn-d058bb49618482f2eff0db57618c9a7352916dd5.tar.gz lwn-d058bb49618482f2eff0db57618c9a7352916dd5.zip |
regmap: Allow ranges to be named
For more useful diagnostics.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
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 afc8e1a2cd1b..9f228d7f7ac4 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -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; |