summaryrefslogtreecommitdiff
path: root/cpu/nios/interrupts.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/nios/interrupts.c')
-rw-r--r--cpu/nios/interrupts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/nios/interrupts.c b/cpu/nios/interrupts.c
index cb60799..75e491d 100644
--- a/cpu/nios/interrupts.c
+++ b/cpu/nios/interrupts.c
@@ -173,7 +173,7 @@ void irq_install_handler (int vec, interrupt_handler_t *handler, void *arg)
}
/*************************************************************************/
-#if (CONFIG_COMMANDS & CFG_CMD_IRQ) || defined(CONFIG_CMD_IRQ)
+#if defined(CONFIG_CMD_IRQ)
int do_irqinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
int vec;
@@ -193,4 +193,4 @@ int do_irqinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return (0);
}
-#endif /* CONFIG_COMMANDS & CFG_CMD_IRQ */
+#endif