forked from Imagelibrary/rtems
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>
|
#include <dev/slcr/zynq-slcr-regs.h>
|
||||||
|
|
||||||
static uint32_t rst_mask = 0xf;
|
static uint32_t rst_mask = 0xf;
|
||||||
|
|
||||||
|
#if RTEMS_INTERRUPT_LOCK_NEEDS_OBJECT
|
||||||
static rtems_interrupt_lock zynq_slcr_lock =
|
static rtems_interrupt_lock zynq_slcr_lock =
|
||||||
RTEMS_INTERRUPT_LOCK_INITIALIZER( "zynq_slcr" );
|
RTEMS_INTERRUPT_LOCK_INITIALIZER( "zynq_slcr" );
|
||||||
|
#endif
|
||||||
|
|
||||||
static inline void slcr_unlock( void )
|
static inline void slcr_unlock( void )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user