summaryrefslogtreecommitdiff
path: root/drivers/staging/ozwpan
diff options
context:
space:
mode:
authorChris Kelly <ckelly@ozmodevices.com>2012-02-29 16:39:57 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-29 15:23:37 -0800
commit0339d3dbbfd51348dda584796e59a740a57a7e32 (patch)
treedc00f02c530a8127d15852f5e7a658466644b494 /drivers/staging/ozwpan
parent64f4eaa5c3a23f6e0847ed40bbe387685bbd440d (diff)
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 <ckelly@ozmodevices.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan')
-rw-r--r--drivers/staging/ozwpan/ozeventdef.h2
1 files changed, 1 insertions, 1 deletions
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;