diff options
Diffstat (limited to 'drivers/base/regmap/internal.h')
-rw-r--r-- | drivers/base/regmap/internal.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/base/regmap/internal.h b/drivers/base/regmap/internal.h index 348ff02eb93e..1a02b7537c8b 100644 --- a/drivers/base/regmap/internal.h +++ b/drivers/base/regmap/internal.h | |||
@@ -74,6 +74,7 @@ struct regmap { | |||
74 | struct reg_default *reg_defaults; | 74 | struct reg_default *reg_defaults; |
75 | const void *reg_defaults_raw; | 75 | const void *reg_defaults_raw; |
76 | void *cache; | 76 | void *cache; |
77 | bool cache_dirty; | ||
77 | }; | 78 | }; |
78 | 79 | ||
79 | struct regcache_ops { | 80 | struct regcache_ops { |
@@ -105,7 +106,7 @@ static inline void regmap_debugfs_exit(struct regmap *map) { } | |||
105 | #endif | 106 | #endif |
106 | 107 | ||
107 | /* regcache core declarations */ | 108 | /* regcache core declarations */ |
108 | int regcache_init(struct regmap *map); | 109 | int regcache_init(struct regmap *map, const struct regmap_config *config); |
109 | void regcache_exit(struct regmap *map); | 110 | void regcache_exit(struct regmap *map); |
110 | int regcache_read(struct regmap *map, | 111 | int regcache_read(struct regmap *map, |
111 | unsigned int reg, unsigned int *value); | 112 | unsigned int reg, unsigned int *value); |
@@ -118,10 +119,7 @@ unsigned int regcache_get_val(const void *base, unsigned int idx, | |||
118 | bool regcache_set_val(void *base, unsigned int idx, | 119 | bool regcache_set_val(void *base, unsigned int idx, |
119 | unsigned int val, unsigned int word_size); | 120 | unsigned int val, unsigned int word_size); |
120 | int regcache_lookup_reg(struct regmap *map, unsigned int reg); | 121 | int regcache_lookup_reg(struct regmap *map, unsigned int reg); |
121 | int regcache_insert_reg(struct regmap *map, unsigned int reg, | ||
122 | unsigned int val); | ||
123 | 122 | ||
124 | extern struct regcache_ops regcache_indexed_ops; | ||
125 | extern struct regcache_ops regcache_rbtree_ops; | 123 | extern struct regcache_ops regcache_rbtree_ops; |
126 | extern struct regcache_ops regcache_lzo_ops; | 124 | extern struct regcache_ops regcache_lzo_ops; |
127 | 125 | ||