summaryrefslogtreecommitdiff
path: root/cpu/nios2
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/nios2')
-rw-r--r--cpu/nios2/interrupts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/nios2/interrupts.c b/cpu/nios2/interrupts.c
index d085550..aeb5b65 100644
--- a/cpu/nios2/interrupts.c
+++ b/cpu/nios2/interrupts.c
@@ -204,7 +204,7 @@ int interrupt_init (void)
/*************************************************************************/
-#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 i;
@@ -228,4 +228,4 @@ int do_irqinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return (0);
}
-#endif /* CONFIG_COMMANDS & CFG_CMD_IRQ */
+#endif