mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
dev/slcr: Fix warning
This commit is contained in:
committed by
Gedare Bloom
parent
32b46899a3
commit
f208860981
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user