diff --git a/drivers/iio/light/bh1750.c b/drivers/iio/light/bh1750.c index b05946604f804ca333c988762ab5dc54ae217f40..6c61187e630fd9a8bb088faafed623e67827d297 100644 --- a/drivers/iio/light/bh1750.c +++ b/drivers/iio/light/bh1750.c @@ -212,7 +212,7 @@ static struct attribute *bh1750_attributes[] = { NULL, }; -static struct attribute_group bh1750_attribute_group = { +static const struct attribute_group bh1750_attribute_group = { .attrs = bh1750_attributes, };