dev/slcr: Fix warning

This commit is contained in:
Sebastian Huber
2024-11-12 05:30:58 +01:00
committed by Gedare Bloom
parent 32b46899a3
commit f208860981

View File

@@ -43,8 +43,11 @@
#include <dev/slcr/zynq-slcr-regs.h>
static uint32_t rst_mask = 0xf;
#if RTEMS_INTERRUPT_LOCK_NEEDS_OBJECT
static rtems_interrupt_lock zynq_slcr_lock =
RTEMS_INTERRUPT_LOCK_INITIALIZER( "zynq_slcr" );
#endif
static inline void slcr_unlock( void )
{