mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
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>.
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
static struct timecounter a9mpcore_tc;
|
static struct timecounter a9mpcore_tc;
|
||||||
|
|
||||||
/* This is defined in dev/clock/clockimpl.h */
|
/* 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)
|
__attribute__ ((weak)) uint32_t a9mpcore_clock_periphclk(void)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -36,7 +36,6 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
#include <rtems/irq.h>
|
|
||||||
#include <rtems/irq-extension.h>
|
#include <rtems/irq-extension.h>
|
||||||
|
|
||||||
#include <bsp/arm-a9mpcore-irq.h>
|
#include <bsp/arm-a9mpcore-irq.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user