OSDN Git Service

iio:adc:ad7298 make the tx and rx buffers __be16
authorJonathan Cameron <jic23@kernel.org>
Wed, 21 Nov 2012 18:24:26 +0000 (18:24 +0000)
committerJonathan Cameron <jic23@kernel.org>
Wed, 21 Nov 2012 18:24:26 +0000 (18:24 +0000)
commitbe7fd3b86ad2f2a8db58decc15d2274b0c89c23b
treeef3e19fd0e7e759e6e16cc6d96864ed8532bd66d
parent2f3abe6cbb6c963ac790b40936b6761c9f0497b4
iio:adc:ad7298 make the tx and rx buffers __be16

These buffers are a little interesting in that their
content may have variable endianness, but all but one
element will definitely be big endian.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
drivers/iio/adc/ad7298.c