Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 183f4173 authored by Peter Meerwald's avatar Peter Meerwald Committed by Jonathan Cameron
Browse files

iio: Pass scan mask as unsigned long

parent 4caf279a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;