summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2026-02-09 10:39:29 -0600
committerTom Rini <[email protected]>2026-02-18 11:57:14 -0600
commit9260339c0ed0cb6989f1fc1959d7619fcff7ed7c (patch)
treef7694aa7e3045342d107efd14b659e9ca4a7cac2
parent35d5cd54153d4ca06547712c33810e8095967745 (diff)
arm: mediatek: make mtk_pll_early_init() static
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. Reviewed-by: Macpaul Lin <[email protected]>
-rw-r--r--arch/arm/mach-mediatek/mt7629/init.c2
-rw-r--r--arch/arm/mach-mediatek/mt8516/init.c2
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,