From: Chris Kelly Date: Wed, 29 Feb 2012 16:39:57 +0000 (+0000) Subject: staging: ozwpan: Reduced size of oz_evtlist structure. X-Git-Tag: MMI-PSA29.97-13-9~17268^2~100^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0339d3dbbfd51348dda584796e59a740a57a7e32;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 cfe4163965de..a880288bab11 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;