Commit d04b674e authored by Ben Dooks's avatar Ben Dooks Committed by Sebastian Reichel

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: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent cecbf8d5
...@@ -30,7 +30,7 @@ static struct regmap *map; ...@@ -30,7 +30,7 @@ static struct regmap *map;
static u32 offset; static u32 offset;
static u32 mask; static u32 mask;
void syscon_poweroff(void) static void syscon_poweroff(void)
{ {
/* Issue the poweroff */ /* Issue the poweroff */
regmap_write(map, offset, mask); regmap_write(map, offset, mask);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment