summary refs log tree commit diff
path: root/drivers/iio/Kconfig
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-08-14 16:54:54 +0200
committerJonathan Cameron <jic23@kernel.org>2015-08-15 14:50:30 +0100
commit050ee2f16e245b42c9ba30640bb91b309b424c48 (patch)
tree402ab434d8e6f028c4269ce5b2a47ec8ba9382d7 /drivers/iio/Kconfig
parent47d5e30ae38ba81600bd2c3292b39d31792470c7 (diff)
downloadlinux-050ee2f16e245b42c9ba30640bb91b309b424c48.tar.gz
iio: Move callback buffer to its own module
Currently the IIO callback buffer implementation is directly built into the
IIO core module when enabled. Given that the callback buffer module is
standalone functionallity there is really no reason to do this. So move it
to its own module.

Also rename the source to follow the standard IIO module naming convention
as well as add a license notice to the file.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/Kconfig')
-rw-r--r--drivers/iio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig
index 4011effe4c05..b52c8a3b1360 100644
--- a/drivers/iio/Kconfig
+++ b/drivers/iio/Kconfig
@@ -21,7 +21,7 @@ config IIO_BUFFER
 if IIO_BUFFER
 
 config IIO_BUFFER_CB
-	bool "IIO callback buffer used for push in-kernel interfaces"
+	tristate "IIO callback buffer used for push in-kernel interfaces"
 	help
 	  Should be selected by any drivers that do in-kernel push
 	  usage.  That is, those where the data is pushed to the consumer.