staging: ozwpan: Reduced size of oz_evtlist structure.
authorChris Kelly <ckelly@ozmodevices.com>
Wed, 29 Feb 2012 16:39:57 +0000 (16:39 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Feb 2012 23:23:37 +0000 (15:23 -0800)
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>
drivers/staging/ozwpan/ozeventdef.h

index cfe4163965de2907b9a840dc8038038da3dde46c..a880288bab11d73035faf914caaff9ee4f292a04 100644 (file)
@@ -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;