driver model: constify attribute groups
[linux-block.git] / drivers / mtd / mtdcore.c
index 00ebf7af7467b6b35dac1a2e2c32c432b11528ad..69007a6eff50c3014c10677af1aea8f84a9fde81 100644 (file)
@@ -217,7 +217,7 @@ struct attribute_group mtd_group = {
        .attrs          = mtd_attrs,
 };
 
-struct attribute_group *mtd_groups[] = {
+const struct attribute_group *mtd_groups[] = {
        &mtd_group,
        NULL,
 };