Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f52687af authored by Sachin Kamat's avatar Sachin Kamat Committed by Mark Brown
Browse files

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 75a5f89f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{