diff options
author | Jonathan Cameron <jic23@kernel.org> | 2015-12-05 16:23:26 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-12-05 16:25:30 +0000 |
commit | 8d6c16dd7213fa43702416e3dd1059e9e36bc758 (patch) | |
tree | 052abb1b36498fcd7229320368657128d316b99c /drivers/iio/industrialio-configfs.c | |
parent | 93e87d73cc46685902bffb0928c2514eaf209b44 (diff) | |
download | talos-op-linux-8d6c16dd7213fa43702416e3dd1059e9e36bc758.tar.gz talos-op-linux-8d6c16dd7213fa43702416e3dd1059e9e36bc758.zip |
iio:configfs: Introduce iio/configfs.h to provide a location for the configfs_subsystem
This exported element needs to be accesible to all drivers using configfs
within IIO. Previously it was in the sw_trig.h file which only convered one
such usecase. This also fixes a sparse warning as it is now in a header
that makes sense to include from industrialio-configfs.c
Signed-off-by: Jonathan Cameron < jic23@kernel.org>
Diffstat (limited to 'drivers/iio/industrialio-configfs.c')
-rw-r--r-- | drivers/iio/industrialio-configfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-configfs.c b/drivers/iio/industrialio-configfs.c index 83563dd7fcf4..45ce2bc47180 100644 --- a/drivers/iio/industrialio-configfs.c +++ b/drivers/iio/industrialio-configfs.c @@ -15,6 +15,7 @@ #include <linux/slab.h> #include <linux/iio/iio.h> +#include <linux/iio/configfs.h> static struct config_item_type iio_root_group_type = { .ct_owner = THIS_MODULE, |