Skip to content

Commit

Permalink
mtd: make few symbols static
Browse files Browse the repository at this point in the history
Make mtd_group and mtd_groups static since they are only used in this
file.

[Amended by Artem Bityutskiy]

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
H Hartley Sweeten authored and David Woodhouse committed Sep 4, 2009
1 parent 0acfe53 commit fca9108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/mtd/mtdcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,11 +213,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,
};
Expand Down

0 comments on commit fca9108

Please sign in to comment.