]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: omap2: make omap5_erratum_workaround_801819 static
authorMa Feng <mafeng.ma@huawei.com>
Mon, 11 May 2020 12:21:44 +0000 (20:21 +0800)
committerTony Lindgren <tony@atomide.com>
Tue, 12 May 2020 15:35:56 +0000 (08:35 -0700)
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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap-smp.c

index 6a82fce3f8227be1a09ba7cab4ae339207652072..570a987e6d1aa426ddf67df19e9def7ca8cc0068 100644 (file)
@@ -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;