[rtems commit] arm/xilinx-zynq: Do not provide legacy API
Sebastian Huber
sebh at rtems.org
Fri May 26 04:37:50 UTC 2023
Module: rtems
Branch: master
Commit: bc31fb65d2ac61313710ad58efdc778c9a26ef08
Changeset: http://git.rtems.org/rtems/commit/?id=bc31fb65d2ac61313710ad58efdc778c9a26ef08
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue May 23 10:49:14 2023 +0200
arm/xilinx-zynq: Do not provide legacy API
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>
More information about the vc
mailing list