summaryrefslogtreecommitdiff
path: root/cpu/nios
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/nios')
-rw-r--r--cpu/nios/interrupts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/nios/interrupts.c b/cpu/nios/interrupts.c
index 48fc81e..cb60799 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)
+#if (CONFIG_COMMANDS & CFG_CMD_IRQ) || defined(CONFIG_CMD_IRQ)
int do_irqinfo (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
int vec;