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:
parent
cecbf8d52e
commit
d04b674e18
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue