aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/imu/adis16350_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/iio/imu/adis16350_core.c')
-rw-r--r--drivers/staging/iio/imu/adis16350_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/imu/adis16350_core.c b/drivers/staging/iio/imu/adis16350_core.c
index cf7176bc766..208192470ec 100644
--- a/drivers/staging/iio/imu/adis16350_core.c
+++ b/drivers/staging/iio/imu/adis16350_core.c
@@ -617,7 +617,7 @@ static int __devinit adis16350_probe(struct spi_device *spi)
617 st->us = spi; 617 st->us = spi;
618 mutex_init(&st->buf_lock); 618 mutex_init(&st->buf_lock);
619 /* setup the industrialio driver allocated elements */ 619 /* setup the industrialio driver allocated elements */
620 st->indio_dev = iio_allocate_device(); 620 st->indio_dev = iio_allocate_device(0);
621 if (st->indio_dev == NULL) { 621 if (st->indio_dev == NULL) {
622 ret = -ENOMEM; 622 ret = -ENOMEM;
623 goto error_free_tx; 623 goto error_free_tx;