From: Ben Dooks Date: Wed, 8 Jun 2016 18:28:54 +0000 (+0100) Subject: power/reset: make syscon_poweroff() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d04b674e188756c8e90a1cf422fe12ab1f147e4e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Krzysztof Kozlowski Signed-off-by: Sebastian Reichel --- diff --git a/drivers/power/reset/syscon-poweroff.c b/drivers/power/reset/syscon-poweroff.c index 5560b0dbc180..b68338399e5e 100644 --- a/drivers/power/reset/syscon-poweroff.c +++ b/drivers/power/reset/syscon-poweroff.c @@ -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);