summaryrefslogtreecommitdiff
path: root/drivers/base/regmap/internal.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-03 13:13:16 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-15 09:59:59 +0900
commit4b020b3f9ba2af8031c5c7d759fbafd234d1c390 (patch)
tree0089993156b75b107585ed7048f4a6ab79ca3315 /drivers/base/regmap/internal.h
parentbd9cc12f4a7e7389432bba0cae6970dfc28f423c (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.h1
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,
struct regmap_range_node {
struct rb_node node;
const char *name;
+ struct regmap *map;
unsigned int range_min;
unsigned int range_max;