diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-03 08:13:16 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-14 20:59:59 -0400 |
commit | 4b020b3f9ba2af8031c5c7d759fbafd234d1c390 (patch) | |
tree | 0089993156b75b107585ed7048f4a6ab79ca3315 /drivers/base/regmap/internal.h | |
parent | bd9cc12f4a7e7389432bba0cae6970dfc28f423c (diff) |
regmap: Provide debugfs read of register ranges
If a register range is named then provide a debugfs file showing the
contents of the range separately.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/internal.h')
-rw-r--r-- | drivers/base/regmap/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h index 27e66c3e7a59..ac869d28d5ba 100644 --- a/drivers/base/regmap/internal.h +++ b/drivers/base/regmap/internal.h | |||
@@ -121,6 +121,7 @@ int _regmap_write(struct regmap *map, unsigned int reg, | |||
121 | struct regmap_range_node { | 121 | struct regmap_range_node { |
122 | struct rb_node node; | 122 | struct rb_node node; |
123 | const char *name; | 123 | const char *name; |
124 | struct regmap *map; | ||
124 | 125 | ||
125 | unsigned int range_min; | 126 | unsigned int range_min; |
126 | unsigned int range_max; | 127 | unsigned int range_max; |