Staging: olpc_dcon: more big endian conformity
authorJens Frederich <jfrederich@gmail.com>
Thu, 15 Aug 2013 19:40:01 +0000 (21:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Aug 2013 00:23:16 +0000 (17:23 -0700)
commit24b7ed475e2b71eba68ee9714b29c712f8dc41f6
tree13abd68d14384657641bb00d04769305a0efaf72
parent98d4f93c79b002f85480320fe63fefaa31d58b6c
Staging: olpc_dcon: more big endian conformity

Using an int which is casted to unsigned char as inbuf is messy.
The code won't work on big endian systems.  The patch should fix
this.

Signed-off-by: Jens Frederich <jfrederich@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/olpc_dcon/olpc_dcon.c