From af15cd40aa738f23d0351bea64237afb062c61e5 Mon Sep 17 00:00:00 2001 From: Yanfeng Liu Date: Sat, 6 Jan 2024 17:51:32 +0800 Subject: [PATCH] risc-v/litex: fix typo in litex/irq.h Current LITEX_LAST_IRQ looks like a typo that blocks compilation of `arty_a7/knsh` configuration. This fixes the build but I have no such device for test. Found it was LITEX_IRQ_LAST before commit #ee84ea3 so likely typo was introduced by then. Signed-off-by: Yanfeng Liu --- arch/risc-v/include/litex/irq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/risc-v/include/litex/irq.h b/arch/risc-v/include/litex/irq.h index 22e4660c8d..e01b414391 100644 --- a/arch/risc-v/include/litex/irq.h +++ b/arch/risc-v/include/litex/irq.h @@ -46,7 +46,7 @@ /* The last hardware IRQ number */ -#define LITEX_LAST_IRQ (LITEX_IRQ_GPIO_BASE + LITEX_IRQ_GPIO_LENGTH) +#define LITEX_IRQ_LAST (LITEX_IRQ_GPIO_BASE + LITEX_IRQ_GPIO_LENGTH) /* Second level GPIO interrupts. GPIO interrupts are decoded and dispatched * as a second level of decoding: The first level dispatches to the GPIO