mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -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 < [email protected]>
This commit is contained in:
parent
93e87d73cc
commit
8d6c16dd72
4 changed files with 17 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
#include <linux/slab.h>
|
||||
|
||||
#include <linux/iio/sw_trigger.h>
|
||||
#include <linux/iio/configfs.h>
|
||||
#include <linux/configfs.h>
|
||||
|
||||
static struct config_group *iio_triggers_group;
|
||||
|
|
|
|||
Loading…
Reference in a new issue