diff --git a/target/linux/realtek/files-6.6/arch/mips/rtl838x/prom.c b/target/linux/realtek/files-6.6/arch/mips/rtl838x/prom.c index 04529872475..f98fb5e93f4 100644 --- a/target/linux/realtek/files-6.6/arch/mips/rtl838x/prom.c +++ b/target/linux/realtek/files-6.6/arch/mips/rtl838x/prom.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include @@ -95,7 +96,7 @@ void __init device_tree_init(void) register_up_smp_ops(); } -void __init identify_rtl9302(void) +static void __init identify_rtl9302(void) { switch (sw_r32(RTL93XX_MODEL_NAME_INFO) & 0xfffffff0) { case 0x93020810: diff --git a/target/linux/realtek/files-6.6/arch/mips/rtl838x/setup.c b/target/linux/realtek/files-6.6/arch/mips/rtl838x/setup.c index 546b2fa2f81..73d689058e7 100644 --- a/target/linux/realtek/files-6.6/arch/mips/rtl838x/setup.c +++ b/target/linux/realtek/files-6.6/arch/mips/rtl838x/setup.c @@ -46,7 +46,7 @@ void __init plat_mem_setup(void) __dt_setup_arch(dtb); } -void plat_time_init_fallback(void) +static void plat_time_init_fallback(void) { struct device_node *np; u32 freq = 500000000;