mtd: make few symbols static
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 6 Aug 2009 23:05:32 +0000 (16:05 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 4 Sep 2009 08:40:46 +0000 (09:40 +0100)
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>
drivers/mtd/mtdcore.c

index 00ebf7af7467b6b35dac1a2e2c32c432b11528ad..3f559c0f1879a49590466b1f45de12769f4da4d5 100644 (file)
@@ -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,
 };