aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2013-09-18 17:10:00 -0400
committerJonathan Cameron <jic23@kernel.org>2013-09-21 14:23:48 -0400
commit183f41734c7cf33cc37efaf7dd2f82866513d74d (patch)
treee45e100d49e383c786f3d6887b5e3e4574808f0c /drivers/iio
parent4caf279a285cb126023dde1386c6f1cebcfa7e29 (diff)
iio: Pass scan mask as unsigned long
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/industrialio-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/industrialio-buffer.c b/drivers/iio/industrialio-buffer.c
index 58180ec36fe8..2361fbc74e33 100644
--- a/drivers/iio/industrialio-buffer.c
+++ b/drivers/iio/industrialio-buffer.c
@@ -429,8 +429,8 @@ static const unsigned long *iio_scan_mask_match(const unsigned long *av_masks,
429 return NULL; 429 return NULL;
430} 430}
431 431
432static int iio_compute_scan_bytes(struct iio_dev *indio_dev, const long *mask, 432static int iio_compute_scan_bytes(struct iio_dev *indio_dev,
433 bool timestamp) 433 const unsigned long *mask, bool timestamp)
434{ 434{
435 const struct iio_chan_spec *ch; 435 const struct iio_chan_spec *ch;
436 unsigned bytes = 0; 436 unsigned bytes = 0;