MIPS: Remove CONFIG_PMCTWILED completely
authorPaul Bolle <pebolle@tiscali.nl>
Tue, 20 May 2014 11:34:36 +0000 (13:34 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 23 May 2014 13:12:39 +0000 (15:12 +0200)
Commit 8b284dbc2200 ("MIPS: PNX Removing dead CONFIG_PMCTWILED") missed
one reference to CONFIG_PMCTWILED in the code. It also missed one
related reference to pmctwiled_setup(). Remove these references now.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/6957/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pmcs-msp71xx/msp_setup.c

index 7e980767679c09fc2e5c4e7c63e87b71f7906d5e..ba9d518dc624851efd3f8be44f2ea42a7b3c3eaa 100644 (file)
@@ -27,7 +27,6 @@
 #endif
 
 extern void msp_serial_setup(void);
-extern void pmctwiled_setup(void);
 
 #if defined(CONFIG_PMC_MSP7120_EVAL) || \
     defined(CONFIG_PMC_MSP7120_GW) || \
@@ -235,12 +234,4 @@ void __init prom_init(void)
                register_smp_ops(&msp_smtc_smp_ops);
 #endif
        }
-
-#ifdef CONFIG_PMCTWILED
-       /*
-        * Setup LED states before the subsys_initcall loads other
-        * dependent drivers/modules.
-        */
-       pmctwiled_setup();
-#endif
 }