summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMa Feng <mafeng.ma@huawei.com>2020-05-11 20:21:44 +0800
committerTony Lindgren <tony@atomide.com>2020-05-12 08:35:56 -0700
commit90d0ce39f8b088a3f227acd79d79b5ccf5a091b3 (patch)
treefc02bbe39c0ca85a1289371153c723fd2857a596
parent4f0f02cc4b5406a3dc0079722aaa01b31c5783f7 (diff)
downloadlwn-90d0ce39f8b088a3f227acd79d79b5ccf5a091b3.tar.gz
lwn-90d0ce39f8b088a3f227acd79d79b5ccf5a091b3.zip
ARM: omap2: make omap5_erratum_workaround_801819 static
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>
-rw-r--r--arch/arm/mach-omap2/omap-smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap-smp.c b/arch/arm/mach-omap2/omap-smp.c
index 6a82fce3f822..570a987e6d1a 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;