aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c b/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c
index ae768f9338..3282a9c38f 100644
--- a/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c
+++ b/target/linux/realtek/files-5.10/arch/mips/rtl838x/prom.c
@@ -31,6 +31,7 @@ const void *fdt;
#ifdef CONFIG_MIPS_MT_SMP
extern const struct plat_smp_ops vsmp_smp_ops;
+static struct plat_smp_ops rtl_smp_ops;
static void rtl_init_secondary(void)
{
@@ -220,8 +221,6 @@ void __init prom_init(void)
#ifdef CONFIG_MIPS_MT_SMP
if (cpu_has_mipsmt) {
- struct plat_smp_ops rtl_smp_ops;
-
rtl_smp_ops = vsmp_smp_ops;
rtl_smp_ops.init_secondary = rtl_init_secondary;
register_smp_ops(&rtl_smp_ops);