summaryrefslogtreecommitdiff
path: root/drivers/base/regmap/internal.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-03 15:40:47 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-15 04:59:59 +0400
commitd058bb49618482f2eff0db57618c9a7352916dd5 (patch)
treeb7b4a88a8f3bcceb14856ba09ddfa5e81e8f8b39 /drivers/base/regmap/internal.h
parent061adc064adbbdd9eb127ab2e86b7a71f4ccaf2e (diff)
downloadlinux-d058bb49618482f2eff0db57618c9a7352916dd5.tar.xz
regmap: Allow ranges to be named
For more useful diagnostics. 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 80f9ab9c3aa4..27e66c3e7a59 100644
--- a/drivers/base/regmap/internal.h
+++ b/drivers/base/regmap/internal.h
@@ -120,6 +120,7 @@ int _regmap_write(struct regmap *map, unsigned int reg,
struct regmap_range_node {
struct rb_node node;
+ const char *name;
unsigned int range_min;
unsigned int range_max;