Commit e0bcb775 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Greg Kroah-Hartman

staging: iio: imu: allow adis16300 and adis16400 to build without ring buffer support.

Signed-off-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Acked-by: default avatarBarry Song <21cnbao@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f4658c89
...@@ -6,9 +6,8 @@ comment "Inertial measurement units" ...@@ -6,9 +6,8 @@ comment "Inertial measurement units"
config ADIS16300 config ADIS16300
tristate "Analog Devices ADIS16300 IMU SPI driver" tristate "Analog Devices ADIS16300 IMU SPI driver"
depends on SPI depends on SPI
select IIO_SW_RING select IIO_SW_RING if IIO_RING_BUFFER
select IIO_RING_BUFFER select IIO_TRIGGER if IIO_RING_BUFFER
select IIO_TRIGGER
help help
Say yes here to build support for Analog Devices adis16300 four degrees Say yes here to build support for Analog Devices adis16300 four degrees
of freedom inertial sensor. of freedom inertial sensor.
...@@ -25,9 +24,8 @@ config ADIS16350 ...@@ -25,9 +24,8 @@ config ADIS16350
config ADIS16400 config ADIS16400
tristate "Analog Devices ADIS16400/5 IMU SPI driver" tristate "Analog Devices ADIS16400/5 IMU SPI driver"
depends on SPI depends on SPI
select IIO_SW_RING select IIO_SW_RING if IIO_RING_BUFFER
select IIO_RING_BUFFER select IIO_TRIGGER if IIO_RING_BUFFER
select IIO_TRIGGER
help help
Say yes here to build support for Analog Devices adis16400/5 triaxial Say yes here to build support for Analog Devices adis16400/5 triaxial
inertial sensor with Magnetometer. inertial sensor with Magnetometer.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment