diff --git a/arch/Kconfig b/arch/Kconfig index e5696556837..bd49cb6cf91 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -156,7 +156,7 @@ config ARCH_VECNOTIRQ bool default n -config ARCH_HAVE_TRIGGER_HOOK +config ARCH_HAVE_IRQTRIGGER bool default n depends on !ARCH_NOINTC diff --git a/include/nuttx/arch.h b/include/nuttx/arch.h index 2079d1288fa..5130d98d601 100644 --- a/include/nuttx/arch.h +++ b/include/nuttx/arch.h @@ -1455,7 +1455,7 @@ void up_disable_irq(int irq); * ****************************************************************************/ -#ifdef CONFIG_ARCH_HAVE_TRIGGER_HOOK +#ifdef CONFIG_ARCH_HAVE_IRQTRIGGER void up_trigger_irq(int irq); #endif