diff options
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/regmap/regcache-rbtree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/base/regmap/regcache-rbtree.c b/drivers/base/regmap/regcache-rbtree.c index e31498499b0f..e71320f61d18 100644 --- a/drivers/base/regmap/regcache-rbtree.c +++ b/drivers/base/regmap/regcache-rbtree.c | |||
@@ -17,6 +17,7 @@ | |||
17 | 17 | ||
18 | static int regcache_rbtree_write(struct regmap *map, unsigned int reg, | 18 | static int regcache_rbtree_write(struct regmap *map, unsigned int reg, |
19 | unsigned int value); | 19 | unsigned int value); |
20 | static int regcache_rbtree_exit(struct regmap *map); | ||
20 | 21 | ||
21 | struct regcache_rbtree_node { | 22 | struct regcache_rbtree_node { |
22 | /* the actual rbtree node holding this block */ | 23 | /* the actual rbtree node holding this block */ |
@@ -149,7 +150,7 @@ static int regcache_rbtree_init(struct regmap *map) | |||
149 | return 0; | 150 | return 0; |
150 | 151 | ||
151 | err: | 152 | err: |
152 | regcache_exit(map); | 153 | regcache_rbtree_exit(map); |
153 | return ret; | 154 | return ret; |
154 | } | 155 | } |
155 | 156 | ||