Make the mtk_pll_early_init() function static in several files. It is
only used within those files, so there is no need to have it in the
global namespace.
---
 arch/arm/mach-mediatek/mt7629/init.c | 2 +-
 arch/arm/mach-mediatek/mt8516/init.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-mediatek/mt7629/init.c 
b/arch/arm/mach-mediatek/mt7629/init.c
index 7cb8b72c364..ff027ed03ef 100644
--- a/arch/arm/mach-mediatek/mt7629/init.c
+++ b/arch/arm/mach-mediatek/mt7629/init.c
@@ -27,7 +27,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-int mtk_pll_early_init(void)
+static int mtk_pll_early_init(void)
 {
        unsigned long pll_rates[] = {
                [CLK_APMIXED_ARMPLL] = 1250000000,
diff --git a/arch/arm/mach-mediatek/mt8516/init.c 
b/arch/arm/mach-mediatek/mt8516/init.c
index 892bd441a33..82f8c509745 100644
--- a/arch/arm/mach-mediatek/mt8516/init.c
+++ b/arch/arm/mach-mediatek/mt8516/init.c
@@ -40,7 +40,7 @@ int dram_init_banksize(void)
        return 0;
 }
 
-int mtk_pll_early_init(void)
+static int mtk_pll_early_init(void)
 {
        unsigned long pll_rates[] = {
                [CLK_APMIXED_ARMPLL] =   1300000000,

-- 
2.43.0

Reply via email to