scuwdt_v2_1: Removed IAR, ARMCC compilation errors.

This patch removes IAR and ARMCC compilation errors.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
This commit is contained in:
P L Sai Krishna 2015-02-26 17:34:46 +05:30 committed by Nava kishore Manne
parent eda5fe3e10
commit ab4f11c566

View file

@ -178,9 +178,9 @@ typedef struct {
*
******************************************************************************/
#define XScuWdt_IsWdtExpired(InstancePtr) \
{((XScuWdt_ReadReg((InstancePtr)->Config.BaseAddr, \
((XScuWdt_ReadReg((InstancePtr)->Config.BaseAddr, \
XSCUWDT_RST_STS_OFFSET) & \
XSCUWDT_RST_STS_RESET_FLAG_MASK) == XSCUWDT_RST_STS_RESET_FLAG_MASK);}
XSCUWDT_RST_STS_RESET_FLAG_MASK) == XSCUWDT_RST_STS_RESET_FLAG_MASK)
/****************************************************************************/
/**
@ -199,9 +199,9 @@ typedef struct {
*
******************************************************************************/
#define XScuWdt_IsTimerExpired(InstancePtr) \
{((XScuWdt_ReadReg((InstancePtr)->Config.BaseAddr, \
((XScuWdt_ReadReg((InstancePtr)->Config.BaseAddr, \
XSCUWDT_ISR_OFFSET) & \
XSCUWDT_ISR_EVENT_FLAG_MASK) == XSCUWDT_ISR_EVENT_FLAG_MASK);}
XSCUWDT_ISR_EVENT_FLAG_MASK) == XSCUWDT_ISR_EVENT_FLAG_MASK)
/****************************************************************************/
/**