diff options
author | Daniel Baluta <daniel.baluta@intel.com> | 2016-04-25 15:15:52 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-05-04 12:44:06 +0200 |
commit | 3d85fb6f81046b51e4428e14fb9643ea75648630 (patch) | |
tree | 0f789377dc6077134085de3eec585e1790d6613b /drivers/iio/dummy/Kconfig | |
parent | iio: Add support for creating IIO devices via configfs (diff) | |
download | linux-3d85fb6f81046b51e4428e14fb9643ea75648630.tar.xz linux-3d85fb6f81046b51e4428e14fb9643ea75648630.zip |
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/Kconfig | 1 |
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 |