diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-04-04 14:36:18 +0530 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-05 11:28:12 +0100 |
commit | f52687afb87cfb2d26699d7f84088c2b04adde50 (patch) | |
tree | 5957b90a0463ea649e316b339f574d2fb306a8eb /drivers/base/regmap/regcache.c | |
parent | 75a5f89f635c2b7cd1f94fcaef5f764d480c8481 (diff) | |
download | linux-f52687afb87cfb2d26699d7f84088c2b04adde50.tar.bz2 |
regmap: cache: Make regcache_sync_block_raw static
regcache_sync_block_raw is used only in this file. Hence make it static.
Silences the following warning:
drivers/base/regmap/regcache.c:608:5: warning:
symbol 'regcache_sync_block_raw' was not declared. Should it be static?
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/base/regmap/regcache.c')
-rw-r--r-- | drivers/base/regmap/regcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regcache.c b/drivers/base/regmap/regcache.c index d81f60576e02..3ae8d9bafe68 100644 --- a/drivers/base/regmap/regcache.c +++ b/drivers/base/regmap/regcache.c @@ -605,7 +605,7 @@ static int regcache_sync_block_raw_flush(struct regmap *map, const void **data, return ret; } -int regcache_sync_block_raw(struct regmap *map, void *block, +static int regcache_sync_block_raw(struct regmap *map, void *block, unsigned int block_base, unsigned int start, unsigned int end) { |