Skip to content

Commit

Permalink
MIPS: DEC: use IS_ENABLED()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and Ralf Baechle committed Jul 23, 2012
1 parent dbebd6b commit baf69e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/dec/prom/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit baf69e2

Please sign in to comment.