summaryrefslogtreecommitdiffstats
path: root/arch
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 13:55:54 +0100
commitbaf69e275317602bb1f2c87e40d1e03c90b31e38 (patch)
tree7a2db28dc71022ff10b42924ef290c469881d518 /arch
parentdbebd6b1c50f564c1eaac890ee1bebfbde5d9318 (diff)
downloadop-kernel-dev-baf69e275317602bb1f2c87e40d1e03c90b31e38.zip
op-kernel-dev-baf69e275317602bb1f2c87e40d1e03c90b31e38.tar.gz
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')
-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 e95ff30..8c62316 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.
OpenPOWER on IntegriCloud