mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
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>
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
module_driver(__iio_sw_trigger_type, iio_register_sw_trigger_type, \
|
||||
iio_unregister_sw_trigger_type)
|
||||
|
||||
extern struct configfs_subsystem iio_configfs_subsys;
|
||||
struct iio_sw_trigger_ops;
|
||||
|
||||
struct iio_sw_trigger_type {
|
||||
|
||||
Reference in New Issue
Block a user