mtd: make few symbols static
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Sep 4 04:59:05 EDT 2009
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=fca910883324d437a24d447b08f524fa19261a94
Commit: fca910883324d437a24d447b08f524fa19261a94
Parent: 0acfe530a2be9192861b84566625ba9b95703226
Author: H Hartley Sweeten <hartleys at visionengravers.com>
AuthorDate: Thu Aug 6 16:05:32 2009 -0700
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Sep 4 09:40:46 2009 +0100
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: H Hartley Sweeten <hsweeten at visionengravers.com>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/mtdcore.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 00ebf7a..3f559c0 100644
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -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,
};
More information about the linux-mtd-cvs
mailing list