diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2019-10-08 13:33:36 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-10-21 10:30:54 -0700 |
commit | 87c59ca22b484a08cb3764a3f7f7315297bafc9b (patch) | |
tree | 3e36fee2ffbd7c2765e5cc4b982344ca5485ed4b /arch/arm/mach-omap2 | |
parent | 21a18129edd773c7c75725af344f51faf00040e6 (diff) |
ARM: OMAP2+: do not export am43xx_control functions
Do not export am43xx_control_{save,restore}_context to avoid
the foloowing warnings:
arch/arm/mach-omap2/control.c:687:6: warning: symbol 'am43xx_control_save_context' was not declared. Should it be static?
arch/arm/mach-omap2/control.c:701:6: warning: symbol 'am43xx_control_restore_context' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/control.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c index c84b5e260617..73338cf80d76 100644 --- a/arch/arm/mach-omap2/control.c +++ b/arch/arm/mach-omap2/control.c @@ -684,7 +684,7 @@ static u32 am33xx_control_vals[ARRAY_SIZE(am43xx_control_reg_offsets)]; * * Save the wkup domain registers */ -void am43xx_control_save_context(void) +static void am43xx_control_save_context(void) { int i; @@ -698,7 +698,7 @@ void am43xx_control_save_context(void) * * Restore the wkup domain registers */ -void am43xx_control_restore_context(void) +static void am43xx_control_restore_context(void) { int i; |