diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-08 15:41:46 +0900 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-08 15:57:35 +0900 |
commit | 2efe1642b73e74604498175de032b8a604868fb7 (patch) | |
tree | a84b4498d30ef5ea49391bfe687128a2dafd5623 /drivers/base/regmap/regmap.c | |
parent | 31244e396fa9e4854cfd6dfe305983e77802c156 (diff) |
regmap: Skip precious registers when dumping registers via debugfs
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/regmap.c')
-rw-r--r-- | drivers/base/regmap/regmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index a3eaef6552ce..d74d306a938b 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c @@ -101,6 +101,7 @@ struct regmap *regmap_init(struct device *dev, map->writeable_reg = config->writeable_reg; map->readable_reg = config->readable_reg; map->volatile_reg = config->volatile_reg; + map->precious_reg = config->precious_reg; switch (config->reg_bits) { case 4: |