diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 3644ff91843490a282f25f44fab8d3ed1d632433..7f0b3f6db9238adf2efbf35db1e05f0bd087af12 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -328,7 +328,7 @@ static struct attribute *hugepage_attr[] = { NULL, }; -static struct attribute_group hugepage_attr_group = { +static const struct attribute_group hugepage_attr_group = { .attrs = hugepage_attr, };