staging: iio: imu: allow adis16300 and adis16400 to build without ring buffer support.
authorJonathan Cameron <jic23@cam.ac.uk>
Sun, 11 Jul 2010 15:39:13 +0000 (16:39 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jul 2010 18:38:28 +0000 (11:38 -0700)
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Barry Song <21cnbao@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/imu/Kconfig

index 48a712e74f98a8fc7f310ac8c3668ca90e1311fb..31a6233a2068123df6f9fce8f2bf38fc3bd8cf2e 100644 (file)
@@ -6,9 +6,8 @@ comment "Inertial measurement units"
 config ADIS16300
        tristate "Analog Devices ADIS16300 IMU SPI driver"
        depends on SPI
-       select IIO_SW_RING
-       select IIO_RING_BUFFER
-       select IIO_TRIGGER
+       select IIO_SW_RING if IIO_RING_BUFFER
+       select IIO_TRIGGER if IIO_RING_BUFFER
        help
          Say yes here to build support for Analog Devices adis16300 four degrees
          of freedom inertial sensor.
@@ -25,9 +24,8 @@ config ADIS16350
 config ADIS16400
        tristate "Analog Devices ADIS16400/5 IMU SPI driver"
        depends on SPI
-       select IIO_SW_RING
-       select IIO_RING_BUFFER
-       select IIO_TRIGGER
+       select IIO_SW_RING if IIO_RING_BUFFER
+       select IIO_TRIGGER if IIO_RING_BUFFER
        help
          Say yes here to build support for Analog Devices adis16400/5 triaxial
          inertial sensor with Magnetometer.