diff options
Diffstat (limited to 'drivers/base/regmap')
-rw-r--r-- | drivers/base/regmap/internal.h | 1 | ||||
-rw-r--r-- | drivers/base/regmap/regmap.c | 1 |
2 files changed, 2 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, | |||
120 | 120 | ||
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 | 124 | ||
124 | unsigned int range_min; | 125 | unsigned int range_min; |
125 | unsigned int range_max; | 126 | unsigned int range_max; |
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 0544f63ecd31..ce5129df4406 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c | |||
@@ -579,6 +579,7 @@ struct regmap *regmap_init(struct device *dev, | |||
579 | goto err_range; | 579 | goto err_range; |
580 | } | 580 | } |
581 | 581 | ||
582 | new->name = range_cfg->name; | ||
582 | new->range_min = range_cfg->range_min; | 583 | new->range_min = range_cfg->range_min; |
583 | new->range_max = range_cfg->range_max; | 584 | new->range_max = range_cfg->range_max; |
584 | new->selector_reg = range_cfg->selector_reg; | 585 | new->selector_reg = range_cfg->selector_reg; |