staging/iio: IIO_SIMPLE_DUMMY_BUFFER neds IIO_BUFFER
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 May 2014 20:48:00 +0000 (21:48 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 7 Jun 2014 10:45:21 +0000 (11:45 +0100)
An obviously missing 'select' statement, without this we
get a link error

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: linux-iio@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/Kconfig

index b36feb080cba886f8ebf9a456c519247376dbdcb..fa38be0982f99e55f74532d73a0171e5d0005b03 100644 (file)
@@ -36,10 +36,11 @@ config IIO_SIMPLE_DUMMY_EVENTS
          Add some dummy events to the simple dummy driver.
 
 config IIO_SIMPLE_DUMMY_BUFFER
-       boolean "Buffered capture support"
-       select IIO_KFIFO_BUF
-       help
-         Add buffered data capture to the simple dummy driver.
+       boolean "Buffered capture support"
+       select IIO_BUFFER
+       select IIO_KFIFO_BUF
+       help
+         Add buffered data capture to the simple dummy driver.
 
 endif # IIO_SIMPLE_DUMMY