projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4caf279
)
iio: Pass scan mask as unsigned long
author
Peter Meerwald
<pmeerw@pmeerw.net>
Wed, 18 Sep 2013 21:10:00 +0000
(22:10 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 21 Sep 2013 18:23:48 +0000
(19:23 +0100)
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/industrialio-buffer.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/industrialio-buffer.c
b/drivers/iio/industrialio-buffer.c
index 58180ec36fe89e94eb5113643c3bc7372427f0c3..2361fbc74e33a9bd403a8a7eb6828675907e94f5 100644
(file)
--- 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,
return NULL;
}
-static int iio_compute_scan_bytes(struct iio_dev *indio_dev,
const long *mask,
-
bool timestamp)
+static int iio_compute_scan_bytes(struct iio_dev *indio_dev,
+
const unsigned long *mask,
bool timestamp)
{
const struct iio_chan_spec *ch;
unsigned bytes = 0;