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 e95ff30..8c62316 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.