power/reset: make syscon_poweroff() static

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>
This commit is contained in:
Ben Dooks 2016-06-08 19:28:54 +01:00 committed by Sebastian Reichel
parent cecbf8d52e
commit d04b674e18

View 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);