iwmc3200wifi: Test of wrong pointer after kzalloc in iwm_mlme_update_bss_table()
[safe/jmp/linux-2.6] / drivers / mtd / mtdcore.c
index 3f559c0..467a4f1 100644 (file)
@@ -217,7 +217,7 @@ static struct attribute_group mtd_group = {
        .attrs          = mtd_attrs,
 };
 
-static struct attribute_group *mtd_groups[] = {
+static const struct attribute_group *mtd_groups[] = {
        &mtd_group,
        NULL,
 };