staging: iio: if(__LITTLE_ENDIAN) -> #ifdef __LITTLE_ENDIAN
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 4 Oct 2011 15:02:08 +0000 (16:02 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Oct 2011 17:37:06 +0000 (10:37 -0700)
commit9d5d11539afba275ff2fec16a180e14b66cb4f1b
tree0d022bdf3e78862151a1792f36df980c6f38b439
parent81e07c06e62a48ec36a65728a0c3c3cafdfaee17
staging: iio: if(__LITTLE_ENDIAN) -> #ifdef __LITTLE_ENDIAN

Unsuprisingly this symbol isn't defined on big endian systems.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/industrialio-buffer.c