summaryrefslogtreecommitdiffstats
path: root/arch/mips/dec/prom
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-01-31 18:19:07 +0100
committerRalf Baechle <ralf@linux-mips.org>2012-07-23 14:55:54 +0200
commitbaf69e275317602bb1f2c87e40d1e03c90b31e38 (patch)
tree7a2db28dc71022ff10b42924ef290c469881d518 /arch/mips/dec/prom
parentMIPS: TX49XX: use IS_ENABLED() (diff)
downloadlinux-baf69e275317602bb1f2c87e40d1e03c90b31e38.tar.xz
linux-baf69e275317602bb1f2c87e40d1e03c90b31e38.zip
MIPS: DEC: use IS_ENABLED()
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>
Diffstat (limited to 'arch/mips/dec/prom')
-rw-r--r--arch/mips/dec/prom/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/dec/prom/memory.c b/arch/mips/dec/prom/memory.c
index e95ff3054ff6..8c62316f22f4 100644
--- a/arch/mips/dec/prom/memory.c
+++ b/arch/mips/dec/prom/memory.c
@@ -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.