diff options
Diffstat (limited to 'drivers/staging/iio/accel/adis16240_ring.c')
-rw-r--r-- | drivers/staging/iio/accel/adis16240_ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/accel/adis16240_ring.c b/drivers/staging/iio/accel/adis16240_ring.c index cd69a2e2bb9a..462d4520ffc3 100644 --- a/drivers/staging/iio/accel/adis16240_ring.c +++ b/drivers/staging/iio/accel/adis16240_ring.c @@ -111,7 +111,7 @@ static void adis16240_trigger_bh_to_ring(struct work_struct *work_s) int i = 0; s16 *data; size_t datasize = st->indio_dev - ->ring->access.get_bpd(st->indio_dev->ring); + ->ring->access.get_bytes_per_datum(st->indio_dev->ring); data = kmalloc(datasize , GFP_KERNEL); if (data == NULL) { |