iio:ad5755: Mark transfer buffer as __be32
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:26 +0000 (20:22 +0000)
commitedc05f26145c925deeeb7bfa50622e2cb22569b3
treed74adcf0fdfd859af75e5baa106fbe9f2ab85f15
parentcf87534b6f34ee5fdef4ec98b4e54ec36d7c9a88
iio:ad5755: Mark transfer buffer as __be32

Fixes the following warnings from sparse:
drivers/iio/dac/ad5755.c:117:25: warning: incorrect type in assignment (different base types)
drivers/iio/dac/ad5755.c:117:25:    expected unsigned int [unsigned] [usertype] d32
drivers/iio/dac/ad5755.c:117:25:    got restricted __be32 [usertype] <noident>
drivers/iio/dac/ad5755.c:171:25: warning: incorrect type in assignment (different base types)
drivers/iio/dac/ad5755.c:171:25:    expected unsigned int [unsigned] [usertype] d32
drivers/iio/dac/ad5755.c:171:25:    got restricted __be32 [usertype] <noident>
drivers/iio/dac/ad5755.c:172:25: warning: incorrect type in assignment (different base types)
drivers/iio/dac/ad5755.c:172:25:    expected unsigned int [unsigned] [usertype] d32
drivers/iio/dac/ad5755.c:172:25:    got restricted __be32 [usertype] <noident>
drivers/iio/dac/ad5755.c:176:23: warning: cast to restricted __be32
drivers/iio/dac/ad5755.c:176:23: warning: cast to restricted __be32
drivers/iio/dac/ad5755.c:176:23: warning: cast to restricted __be32
drivers/iio/dac/ad5755.c:176:23: warning: cast to restricted __be32
drivers/iio/dac/ad5755.c:176:23: warning: cast to restricted __be32
drivers/iio/dac/ad5755.c:176:23: warning: cast to restricted __be32

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