From: H Hartley Sweeten Date: Thu, 6 Aug 2009 23:05:32 +0000 (-0700) Subject: mtd: make few symbols static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fca910883324d437a24d447b08f524fa19261a94;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: Andrew Morton Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- 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, };