power/reset: make syscon_poweroff() static
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 8 Jun 2016 18:28:54 +0000 (19:28 +0100)
committerSebastian Reichel <sre@kernel.org>
Fri, 10 Jun 2016 01:52:13 +0000 (03:52 +0200)
The syscon_poweroff() function is not exported or declared for
usage elsewhere, so make it static to avoid the folloiwing warning:

drivers/power/reset/syscon-poweroff.c:33:6: warning: symbol 'syscon_poweroff' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/reset/syscon-poweroff.c

index 5560b0d..b683383 100644 (file)
@@ -30,7 +30,7 @@ static struct regmap *map;
 static u32 offset;
 static u32 mask;
 
-void syscon_poweroff(void)
+static void syscon_poweroff(void)
 {
        /* Issue the poweroff */
        regmap_write(map, offset, mask);