ARM: omap2: make omap5_erratum_workaround_801819 static

Message ID 1589199704-11980-1-git-send-email-mafeng.ma@huawei.com
State New
Headers show
Series
  • ARM: omap2: make omap5_erratum_workaround_801819 static
Related show

Commit Message

Ma Feng May 11, 2020, 12:21 p.m.
Fix sparse warning:

arch/arm/mach-omap2/omap-smp.c:75:6: warning: symbol
'omap5_erratum_workaround_801819' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ma Feng <mafeng.ma@huawei.com>
---
 arch/arm/mach-omap2/omap-smp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.6.2

Patch

diff --git a/arch/arm/mach-omap2/omap-smp.c b/arch/arm/mach-omap2/omap-smp.c
index 6a82fce..570a987e 100644
--- a/arch/arm/mach-omap2/omap-smp.c
+++ b/arch/arm/mach-omap2/omap-smp.c
@@ -72,7 +72,7 @@  void __iomem *omap4_get_scu_base(void)
 }

 #ifdef CONFIG_OMAP5_ERRATA_801819
-void omap5_erratum_workaround_801819(void)
+static void omap5_erratum_workaround_801819(void)
 {
 	u32 acr, revidr;
 	u32 acr_mask;