Skip to content

Commit

Permalink
staging: ozwpan: Reduced size of oz_evtlist structure.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chris Kelly authored and Greg Kroah-Hartman committed Feb 29, 2012
1 parent 64f4eaa commit 0339d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/ozwpan/ozeventdef.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0339d3d

Please sign in to comment.