Commit fca91088 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by David Woodhouse

mtd: make few symbols static

Make mtd_group and mtd_groups static since they are only used in this
file.

[Amended by Artem Bityutskiy]
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 0acfe530
...@@ -213,11 +213,11 @@ static struct attribute *mtd_attrs[] = { ...@@ -213,11 +213,11 @@ static struct attribute *mtd_attrs[] = {
NULL, NULL,
}; };
struct attribute_group mtd_group = { static struct attribute_group mtd_group = {
.attrs = mtd_attrs, .attrs = mtd_attrs,
}; };
struct attribute_group *mtd_groups[] = { static struct attribute_group *mtd_groups[] = {
&mtd_group, &mtd_group,
NULL, NULL,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment