From: Sachin Kamat Date: Thu, 4 Apr 2013 09:06:18 +0000 (+0530) Subject: regmap: cache: Make regcache_sync_block_raw static X-Git-Tag: next-20130422~33^2~2^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f52687afb87cfb2d26699d7f84088c2b04adde50;p=karo-tx-linux.git 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 Signed-off-by: Mark Brown --- 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) {