From 466b7f177fa7b012f52cfc8bbc0fb1d65e89c710 Mon Sep 17 00:00:00 2001 From: P L Sai Krishna Date: Thu, 26 Feb 2015 17:34:44 +0530 Subject: [PATCH] gpiops: Removed IAR compilation errors. This patch removes the IAR compilation error in intr example. Signed-off-by: P L Sai Krishna --- .../drivers/gpiops/examples/xgpiops_intr_example.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/gpiops/examples/xgpiops_intr_example.c b/XilinxProcessorIPLib/drivers/gpiops/examples/xgpiops_intr_example.c index 9b48fbab..67aa7a10 100755 --- a/XilinxProcessorIPLib/drivers/gpiops/examples/xgpiops_intr_example.c +++ b/XilinxProcessorIPLib/drivers/gpiops/examples/xgpiops_intr_example.c @@ -99,7 +99,7 @@ static int GpioIntrExample(XScuGic *Intc, XGpioPs *Gpio, u16 DeviceId, u16 GpioIntrId); -static void IntrHandler(void *CallBackRef, int Bank, u32 Status); +static void IntrHandler(void *CallBackRef, u32 Bank, u32 Status); static int SetupInterruptSystem(XScuGic *Intc, XGpioPs *Gpio, u16 GpioIntrId); /************************** Variable Definitions *****************************/ @@ -242,7 +242,7 @@ int GpioIntrExample(XScuGic *Intc, XGpioPs *Gpio, u16 DeviceId, u16 GpioIntrId) * @note None. * ******************************************************************************/ -static void IntrHandler(void *CallBackRef, int Bank, u32 Status) +static void IntrHandler(void *CallBackRef, u32 Bank, u32 Status) { XGpioPs *Gpio = (XGpioPs *)CallBackRef; static u32 ButtonsChanged;