drivers/mtd/mtdcore.c: don't export local symbols
PATCH 1/1 drivers/mtd/mtdcore.c: don't export local symbols
Make mtd_group and mtd_groups static since they are only used in this file.
Signed-off-by H Hartley Sweeten <[email protected]>
---
drivers/mtd/mtdcore.c +2 -2
@@ -187,11 +187,11 @@ static struct attribute *mtd_attrs[] = { NULL, }; -struct attribute_group mtd_group = { +static struct attribute_group mtd_group = { .attrs = mtd_attrs, }; -struct attribute_group *mtd_groups[] = { +static struct attribute_group *mtd_groups[] = { &mtd_group,NULL , };