summaryrefslogtreecommitdiffstats
path: root/drivers/power/reset
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-08 19:28:54 +0100
committerSebastian Reichel <sre@kernel.org>2016-06-10 03:52:13 +0200
commitd04b674e188756c8e90a1cf422fe12ab1f147e4e (patch)
treea99c59f890db183d609f304c1e047f909e454b22 /drivers/power/reset
parentcecbf8d52e6c7f16d954091be9283b928199ed92 (diff)
downloadlinux-d04b674e188756c8e90a1cf422fe12ab1f147e4e.tar.bz2
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>
Diffstat (limited to 'drivers/power/reset')
-rw-r--r--drivers/power/reset/syscon-poweroff.c2
1 files changed, 1 insertions, 1 deletions
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);