devcfg; Removed IAR compilation errors in example.

This patch removes IAR compilation error in example by removing
the u32 typecast since it is expecting (void *)

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

View file

@ -381,8 +381,8 @@ int XDcfg_GetConfigReg(XDcfg *DcfgInstancePtr, u32 ConfigReg, u32 *RegData)
CmdBuf[CmdIndex++] = 0x20000000; /* Type 1 NOOP Word 0 */
CmdBuf[CmdIndex++] = 0x20000000; /* Type 1 NOOP Word 0 */
XDcfg_Transfer(&DcfgInstance, (u32)(&CmdBuf[0]),
CmdIndex, (u32)RegData, 1, XDCFG_PCAP_READBACK);
XDcfg_Transfer(&DcfgInstance, (&CmdBuf[0]),
CmdIndex, RegData, 1, XDCFG_PCAP_READBACK);
/* Poll IXR_DMA_DONE */
IntrStsReg = XDcfg_IntrGetStatus(DcfgInstancePtr);