diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-05 14:18:50 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-05 14:18:50 +0100 |
commit | 8569d023a0db699c462337d471f7e92163142e37 (patch) | |
tree | 7852eeafa7986edf03b2fab354b4ba2718ee44bd /include | |
parent | regmap: Add trace event for successful cache reads (diff) | |
parent | regmap: Allow drivers to reinitialise the register cache at runtime (diff) | |
download | linux-8569d023a0db699c462337d471f7e92163142e37.tar.xz linux-8569d023a0db699c462337d471f7e92163142e37.zip |
Merge branch 'topic/cache' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap into regmap-next
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/regmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h index a83e4a097abd..cfce3a358fbf 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -128,6 +128,8 @@ struct regmap *regmap_init_spi(struct spi_device *dev, const struct regmap_config *config); void regmap_exit(struct regmap *map); +int regmap_reinit_cache(struct regmap *map, + const struct regmap_config *config); int regmap_write(struct regmap *map, unsigned int reg, unsigned int val); int regmap_raw_write(struct regmap *map, unsigned int reg, const void *val, size_t val_len); |