arm: vic.c: local variables should not be exposed globally
PATCH 1/1 arm: vic.c: local variables should not be exposed globally
The variable 'vic_syscore_ops' is only referenced in this file and should be marked static to prevent it from being exposed globally.
This quiets the sparse waring:
warning: symbol 'vic_syscore_ops' was not declared. Should it be static?
Signed-off-by H Hartley Sweeten <[email protected]>
---
arch/arm/common/vic.c +1 -1
@@ -142,7 +142,7 @@ static int vic_suspend(void)return 0 ; } -struct syscore_ops vic_syscore_ops = { +static struct syscore_ops vic_syscore_ops = { .suspend = vic_suspend, .resume = vic_resume, };