提交 7bcf302f 编写于 作者: J Jonathan Cameron 提交者: Greg Kroah-Hartman

staging:iio:gyro:adis16260 fix missing num_channels setup.

Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk>
Cc: stable <stable@kernel.org>  [3.0]
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 6d1ad0f8
......@@ -615,7 +615,7 @@ static int __devinit adis16260_probe(struct spi_device *spi)
}
else
indio_dev->channels = adis16260_channels_x;
indio_dev->num_channels = ARRAY_SIZE(adis16260_channels_x);
indio_dev->modes = INDIO_DIRECT_MODE;
ret = adis16260_configure_ring(indio_dev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册