提交 d04b674e 编写于 作者: B Ben Dooks 提交者: 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: NBen Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: NSebastian Reichel <sre@kernel.org>
上级 cecbf8d5
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册