diff --git a/drivers/iio/industrialio-trigger.c b/drivers/iio/industrialio-trigger.c index d0d869eb48f7..54c4d5854ff0 100644 --- a/drivers/iio/industrialio-trigger.c +++ b/drivers/iio/industrialio-trigger.c @@ -492,7 +492,7 @@ static void iio_trig_release(struct device *device) kfree(trig); } -static struct device_type iio_trig_type = { +static const struct device_type iio_trig_type = { .release = iio_trig_release, .groups = iio_trig_dev_groups, };