summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dummy/Kconfig
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@intel.com>2016-04-25 16:15:52 +0300
committerJonathan Cameron <jic23@kernel.org>2016-05-04 11:44:06 +0100
commit3d85fb6f81046b51e4428e14fb9643ea75648630 (patch)
tree0f789377dc6077134085de3eec585e1790d6613b /drivers/iio/dummy/Kconfig
parent0f3a8c3f34f728e7c96651bb7271e1c388c9aac2 (diff)
iio: dummy: Convert IIO dummy to configfs
We register a new device type named "dummy", this will create a configfs entry under: * /config/iio/devices/dummy. Creating dummy devices is now as simple as: $ mkdir /config/iio/devices/dummy/my_dummy_device Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/dummy/Kconfig')
-rw-r--r--drivers/iio/dummy/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/dummy/Kconfig b/drivers/iio/dummy/Kconfig
index 71805ced1aae..aa5824d96a43 100644
--- a/drivers/iio/dummy/Kconfig
+++ b/drivers/iio/dummy/Kconfig
@@ -10,6 +10,7 @@ config IIO_DUMMY_EVGEN
config IIO_SIMPLE_DUMMY
tristate "An example driver with no hardware requirements"
+ depends on IIO_SW_DEVICE
help
Driver intended mainly as documentation for how to write
a driver. May also be useful for testing userspace code