Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sachin Kamat and committed by
Mark Brown
f52687af 75a5f89f

+1 -1
+1 -1
drivers/base/regmap/regcache.c
··· 605 605 return ret; 606 606 } 607 607 608 - int regcache_sync_block_raw(struct regmap *map, void *block, 608 + static int regcache_sync_block_raw(struct regmap *map, void *block, 609 609 unsigned int block_base, unsigned int start, 610 610 unsigned int end) 611 611 {