summaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorMark Brown2011-12-05 14:18:50 +0100
committerMark Brown2011-12-05 14:18:50 +0100
commit8569d023a0db699c462337d471f7e92163142e37 (patch)
tree7852eeafa7986edf03b2fab354b4ba2718ee44bd /include/linux/regmap.h
parentregmap: Add trace event for successful cache reads (diff)
parentregmap: Allow drivers to reinitialise the register cache at runtime (diff)
downloadkernel-qcow2-linux-8569d023a0db699c462337d471f7e92163142e37.tar.gz
kernel-qcow2-linux-8569d023a0db699c462337d471f7e92163142e37.tar.xz
kernel-qcow2-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/linux/regmap.h')
-rw-r--r--include/linux/regmap.h2
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);