summaryrefslogtreecommitdiff
path: root/include/linux/iio/sw_trigger.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/iio/sw_trigger.h')
-rw-r--r--include/linux/iio/sw_trigger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iio/sw_trigger.h b/include/linux/iio/sw_trigger.h
index c97eab67558f..0c43738a9e24 100644
--- a/include/linux/iio/sw_trigger.h
+++ b/include/linux/iio/sw_trigger.h
@@ -60,7 +60,7 @@ void iio_sw_trigger_type_configfs_unregister(struct iio_sw_trigger_type *tt);
static inline
void iio_swt_group_init_type_name(struct iio_sw_trigger *t,
const char *name,
- struct config_item_type *type)
+ const struct config_item_type *type)
{
#if IS_ENABLED(CONFIG_CONFIGFS_FS)
config_group_init_type_name(&t->group, name, type);