X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fiio%2Flight%2Fbh1750.c;h=6c61187e630fd9a8bb088faafed623e67827d297;hb=70ef8f0d37573079e093305214d0cc9eb71100f7;hp=b05946604f804ca333c988762ab5dc54ae217f40;hpb=9689dab30a52f5df313771e07206d7b3d8ca44f7;p=karo-tx-linux.git 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, };