]> git.karo-electronics.de Git - linux-beck.git/commitdiff
regmap: cache: Make regcache_sync_block_raw static
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 4 Apr 2013 09:06:18 +0000 (14:36 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 5 Apr 2013 10:28:12 +0000 (11:28 +0100)
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>
drivers/base/regmap/regcache.c

index d81f60576e02de2c2aaf706497f5de79ea957b46..3ae8d9bafe6831c076cce30de675f894f164c140 100644 (file)
@@ -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)
 {