aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2014-11-01 10:54:00 -0400
committerJonathan Cameron <jic23@kernel.org>2014-01-11 11:15:32 -0500
commit4a2bbdb45e5538dcf3d9f3d9299dd7b9bc3c076f (patch)
tree20f44b594a95a09e18368acf763212fb9c2dfcba
parent36eb8cc2cedadee888deb9a657a10be159f2dc0b (diff)
iio:pressure:mpl3115: Fix sparse cast to restricted __be32 warning
>> >> drivers/iio/pressure/mpl3115.c:101:46: sparse: cast to restricted __be32 >> >> drivers/iio/pressure/mpl3115.c:115:46: sparse: cast to restricted __be32 Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/iio/pressure/mpl3115.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/pressure/mpl3115.c b/drivers/iio/pressure/mpl3115.c
index ac8c8ab723e5..ba6d0c520e63 100644
--- a/drivers/iio/pressure/mpl3115.c
+++ b/drivers/iio/pressure/mpl3115.c
@@ -77,7 +77,7 @@ static int mpl3115_read_raw(struct iio_dev *indio_dev,
77 int *val, int *val2, long mask) 77 int *val, int *val2, long mask)
78{ 78{
79 struct mpl3115_data *data = iio_priv(indio_dev); 79 struct mpl3115_data *data = iio_priv(indio_dev);
80 s32 tmp = 0; 80 __be32 tmp = 0;
81 int ret; 81 int ret;
82 82
83 switch (mask) { 83 switch (mask) {