diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 74471e7aa5cc42d82305967bc5a1795363fb5895..0f614dfcb09f1c09157816f0d9fa08d72dec0b95 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c @@ -568,7 +568,7 @@ static struct attribute *w1_master_default_attrs[] = { NULL }; -static struct attribute_group w1_master_defattr_group = { +static const struct attribute_group w1_master_defattr_group = { .attrs = w1_master_default_attrs, };