[PATCH 4/5] arm/xilinx-zynq: Do not provide legacy API

Sebastian Huber sebastian.huber at embedded-brains.de
Wed May 24 13:05:49 UTC 2023


The header file <rtems/irq.h> provides a legacy API.  Do not provide it
by default through <bsp/irq.h>.
---
 bsps/arm/shared/clock/clock-a9mpcore.c | 2 +-
 bsps/arm/xilinx-zynq/include/bsp/irq.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/bsps/arm/shared/clock/clock-a9mpcore.c b/bsps/arm/shared/clock/clock-a9mpcore.c
index 8d36d82afc..9e0b3418d4 100644
--- a/bsps/arm/shared/clock/clock-a9mpcore.c
+++ b/bsps/arm/shared/clock/clock-a9mpcore.c
@@ -48,7 +48,7 @@
 static struct timecounter a9mpcore_tc;
 
 /* This is defined in dev/clock/clockimpl.h */
-void Clock_isr(rtems_irq_hdl_param arg);
+void Clock_isr(void *arg);
 
 __attribute__ ((weak)) uint32_t a9mpcore_clock_periphclk(void)
 {
diff --git a/bsps/arm/xilinx-zynq/include/bsp/irq.h b/bsps/arm/xilinx-zynq/include/bsp/irq.h
index 708d6e6b8f..61d47c529b 100644
--- a/bsps/arm/xilinx-zynq/include/bsp/irq.h
+++ b/bsps/arm/xilinx-zynq/include/bsp/irq.h
@@ -36,7 +36,6 @@
 
 #ifndef ASM
 
-#include <rtems/irq.h>
 #include <rtems/irq-extension.h>
 
 #include <bsp/arm-a9mpcore-irq.h>
-- 
2.35.3



More information about the devel mailing list