aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ozwpan/ozeventdef.h
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/ozeventdef.h
parentstaging:iio:dac:ad5064: Add AD5666 support (diff)
downloadlinux-dev-0339d3dbbfd51348dda584796e59a740a57a7e32.tar.xz
linux-dev-0339d3dbbfd51348dda584796e59a740a57a7e32.zip
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/ozeventdef.h')
-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;