drivers/mtd/mtdcore.c: make symbols static
PATCH 3/8 drivers/mtd/mtdcore.c: make symbols static
From: H Hartley Sweeten <[email protected]>
Make mtd_group and mtd_groups static since they are only used in this file.
Signed-off-by H Hartley Sweeten <[email protected]>
Cc David Woodhouse <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/mtd/mtdcore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/mtd/mtdcore.c renamed from drivers/mtd/mtdcore.c~drivers-mtd-mtdcorec-make-symbols-static +2 -2
@@ -213,11 +213,11 @@ static struct attribute *mtd_attrs[] = { NULL, }; -struct attribute_group mtd_group = { +static struct attribute_group mtd_group = { .attrs = mtd_attrs, }; -const struct attribute_group *mtd_groups[] = { +static const struct attribute_group *mtd_groups[] = { &mtd_group,NULL , };
_
Quoted 8 lines · On Thu, 2009-08-06 at 16:05 -0700, [email protected] wrote:
From: H Hartley Sweeten <[email protected]>
Make
mtd_groupandmtd_groupsstatic since they are only used in this file.Signed-off-by H Hartley Sweeten <[email protected]>Cc David Woodhouse <[email protected]>Signed-off-by Andrew Morton <[email protected]>
This one is in my l2-mtd-2.6.git now.
Signature · 2 lines
Best Regards, Artem Bityutskiy (Артём Битюцкий)