summaryrefslogtreecommitdiff
path: root/drivers/iio/light/bh1750.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/light/bh1750.c')
-rw-r--r--drivers/iio/light/bh1750.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/light/bh1750.c b/drivers/iio/light/bh1750.c
index b05946604f80..6c61187e630f 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,
};