iio:ad5504: Mark transfer buffers as __be16
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 25 Nov 2013 12:41:00 +0000 (12:41 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 3 Dec 2013 20:22:25 +0000 (20:22 +0000)
commit61c358e3bc20abeab2ba2ae9625ca723409b6766
tree1b09d9253651360fc4db92ab4fff09964731f210
parentc3a09c18ed4698ff80408af7bec8ddd28608b7f5
iio:ad5504: Mark transfer buffers as __be16

Fixes the following warnings from sparse:
drivers/iio/dac/ad5504.c:71:19: warning: incorrect type in initializer (different base types)
drivers/iio/dac/ad5504.c:71:19:    expected unsigned short [unsigned] [usertype] tmp
drivers/iio/dac/ad5504.c:71:19:    got restricted __be16 [usertype] <noident>
drivers/iio/dac/ad5504.c:80:19: warning: incorrect type in initializer (different base types)
drivers/iio/dac/ad5504.c:80:19:    expected unsigned short [unsigned] [usertype] tmp
drivers/iio/dac/ad5504.c:80:19:    got restricted __be16 [usertype] <noident>
drivers/iio/dac/ad5504.c:93:16: warning: cast to restricted __be16
drivers/iio/dac/ad5504.c:93:16: warning: cast to restricted __be16
drivers/iio/dac/ad5504.c:93:16: warning: cast to restricted __be16
drivers/iio/dac/ad5504.c:93:16: warning: cast to restricted __be16

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/ad5504.c