iio:configfs: Introduce iio/configfs.h to provide a location for the configfs_subsystem
authorJonathan Cameron <jic23@kernel.org>
Sat, 5 Dec 2015 16:23:26 +0000 (16:23 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 5 Dec 2015 16:25:30 +0000 (16:25 +0000)
commit8d6c16dd7213fa43702416e3dd1059e9e36bc758
tree052abb1b36498fcd7229320368657128d316b99c
parent93e87d73cc46685902bffb0928c2514eaf209b44
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>
drivers/iio/industrialio-configfs.c
drivers/iio/industrialio-sw-trigger.c
include/linux/iio/configfs.h [new file with mode: 0644]
include/linux/iio/sw_trigger.h