summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2009-08-06 16:05:32 -0700
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-09-04 09:40:46 +0100
commitfca910883324d437a24d447b08f524fa19261a94 (patch)
treefcd65b0c522bf0efc0d11945a09cec7720af5c6d /drivers/mtd
parent0acfe530a2be9192861b84566625ba9b95703226 (diff)
downloadblackbird-op-linux-fca910883324d437a24d447b08f524fa19261a94.tar.gz
blackbird-op-linux-fca910883324d437a24d447b08f524fa19261a94.zip
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@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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/mtdcore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 00ebf7af7467..3f559c0f1879 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,
};
OpenPOWER on IntegriCloud