From: Chris Kelly Date: Wed, 29 Feb 2012 16:39:57 +0000 (+0000) Subject: staging: ozwpan: Reduced size of oz_evtlist structure. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0339d3dbbfd51348dda584796e59a740a57a7e32;p=mv-sheeva.git staging: ozwpan: Reduced size of oz_evtlist structure. This structure is used in an ioctl definition and was causing the 64-bit PowerPC build to fail. The size of the array in the structure has been reduced to fix this. Signed-off-by: Chris Kelly Reported-by: Stephen Rothwell Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ozwpan/ozeventdef.h b/drivers/staging/ozwpan/ozeventdef.h index cfe4163965d..a880288bab1 100644 --- a/drivers/staging/ozwpan/ozeventdef.h +++ b/drivers/staging/ozwpan/ozeventdef.h @@ -37,7 +37,7 @@ struct oz_event { unsigned ctx4; }; -#define OZ_EVT_LIST_SZ 256 +#define OZ_EVT_LIST_SZ 64 struct oz_evtlist { int count; int missed;