MIPS: DEC: use IS_ENABLED()
authorFlorian Fainelli <florian@openwrt.org>
Tue, 31 Jan 2012 17:19:07 +0000 (18:19 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 23 Jul 2012 12:55:54 +0000 (13:55 +0100)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3333/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/dec/prom/memory.c

index e95ff3054ff61f83bc56a0458142046655daba6c..8c62316f22f438b4b9cc18b23585f3e0ad8b7258 100644 (file)
@@ -101,7 +101,7 @@ void __init prom_free_prom_memory(void)
         * the first page reserved for the exception handlers.
         */
 
-#if defined(CONFIG_DECLANCE) || defined(CONFIG_DECLANCE_MODULE)
+#if IS_ENABLED(CONFIG_DECLANCE)
        /*
         * Leave 128 KB reserved for Lance memory for
         * IOASIC DECstations.