summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-05-06 21:48:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-06-07 11:45:21 +0100
commit6d4eed9e8e31a855ea6e6969562774e15f7a6849 (patch)
treefc4dcf8d4a15648cd4d7189852fe24440e260dd0
parente0326be0cded13dfc3a24cbeece1f1ae64348a0e (diff)
downloadlinux-stable-6d4eed9e8e31a855ea6e6969562774e15f7a6849.tar.gz
linux-stable-6d4eed9e8e31a855ea6e6969562774e15f7a6849.tar.bz2
linux-stable-6d4eed9e8e31a855ea6e6969562774e15f7a6849.zip
staging/iio: IIO_SIMPLE_DUMMY_BUFFER neds IIO_BUFFER
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>
-rw-r--r--drivers/staging/iio/Kconfig9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/staging/iio/Kconfig b/drivers/staging/iio/Kconfig
index b36feb080cba..fa38be0982f9 100644
--- a/drivers/staging/iio/Kconfig
+++ b/drivers/staging/iio/Kconfig
@@ -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