Fix common misspellings
[firefly-linux-kernel-4.4.55.git] / arch / mips / pmc-sierra / msp71xx / msp_setup.c
index a54e85b3cf29c10bbfb421aa7e2ddc7c111e460a..2413ea67877ede061a3874008e9604552e337c15 100644 (file)
@@ -146,6 +146,8 @@ void __init plat_mem_setup(void)
        pm_power_off = msp_power_off;
 }
 
+extern struct plat_smp_ops msp_smtc_smp_ops;
+
 void __init prom_init(void)
 {
        unsigned long family;
@@ -226,10 +228,18 @@ void __init prom_init(void)
         */
        msp_serial_setup();
 
+#ifdef CONFIG_MIPS_MT_SMP
+       register_smp_ops(&vsmp_smp_ops);
+#endif
+
+#ifdef CONFIG_MIPS_MT_SMTC
+       register_smp_ops(&msp_smtc_smp_ops);
+#endif
+
 #ifdef CONFIG_PMCTWILED
        /*
         * Setup LED states before the subsys_initcall loads other
-        * dependant drivers/modules.
+        * dependent drivers/modules.
         */
        pmctwiled_setup();
 #endif