staging: iio: accel: Use __be16 instead of u16
authorAybuke Ozdemir <aybuke.147@gmail.com>
Sun, 28 Sep 2014 11:45:09 +0000 (14:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 02:22:13 +0000 (22:22 -0400)
commit03c6eaa37ad7cd4838a8a6d745eb4da4db48c2f1
tree3b25e0a08a68741e51070dd2901402233c82483f
parent2bd7e245ea46dac4defdbed873c1cebe6c1e9c80
staging: iio: accel: Use __be16 instead of u16

This patch fixes these warning messages found by sparse:
drivers/staging/iio/accel/sca3000_ring.c:120:61: warning: incorrect type in argument 1 (different base types)
drivers/staging/iio/accel/sca3000_ring.c:120:61:    expected restricted __be16 const [usertype] *p
drivers/staging/iio/accel/sca3000_ring.c:120:61:    got unsigned short [usertype] *

Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/accel/sca3000_ring.c