From 4909bf3c22b382eac70757f92f267ba5d66c6c4f Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Mon, 1 Aug 2016 16:30:09 -0700 Subject: [PATCH] zephyr: remove deprecated dynamic interrupt API Change-Id: I65b1248988ac384f542a3a685b51b1145cee30b3 Signed-off-by: Andrew Boie --- include/irq.h | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/include/irq.h b/include/irq.h index 213cc4f2748..bbcd9212b3b 100644 --- a/include/irq.h +++ b/include/irq.h @@ -33,8 +33,7 @@ extern "C" { /** * Configure a static interrupt. * - * All arguments must be computable by the compiler at build time; if this - * can't be done use irq_connect_dynamic() instead. + * All arguments must be computable by the compiler at build time. * * @param irq_p IRQ line number * @param priority_p Interrupt priority @@ -47,31 +46,6 @@ extern "C" { #define IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) \ _ARCH_IRQ_CONNECT(irq_p, priority_p, isr_p, isr_param_p, flags_p) -/** - * Configure a dynamic interrupt. - * - * @param irq IRQ line number - * @param priority Interrupt priority - * @param routine Interrupt service routine - * @param parameter ISR parameter - * @param flags Arch-specific IRQ configuration flags - * - * @return The vector assigned to this interrupt - */ -extern int _arch_irq_connect_dynamic(unsigned int irq, unsigned int priority, - void (*routine)(void *parameter), void *parameter, - uint32_t flags); - -static inline int __deprecated -irq_connect_dynamic(unsigned int irq, unsigned int priority, - void (*routine)(void *parameter), void *parameter, - uint32_t flags) -{ - return _arch_irq_connect_dynamic(irq, priority, routine, parameter, flags); -} - - - /** * @brief Disable all interrupts on the CPU (inline) *