linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [patch 3/8] drivers/mtd/mtdcore.c: make symbols static
@ 2009-08-06 23:05 akpm
  2009-08-10  7:20 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2009-08-06 23:05 UTC (permalink / raw)
  To: dwmw2; +Cc: hsweeten, akpm, linux-mtd, hartleys

From: H Hartley Sweeten <hartleys@visionengravers.com>

Make mtd_group and mtd_groups static since they are only used in this
file.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/mtd/mtdcore.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/mtd/mtdcore.c~drivers-mtd-mtdcorec-make-symbols-static drivers/mtd/mtdcore.c
--- a/drivers/mtd/mtdcore.c~drivers-mtd-mtdcorec-make-symbols-static
+++ a/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,
 };
 
-const struct attribute_group *mtd_groups[] = {
+static const struct attribute_group *mtd_groups[] = {
 	&mtd_group,
 	NULL,
 };
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 3/8] drivers/mtd/mtdcore.c: make symbols static
  2009-08-06 23:05 [patch 3/8] drivers/mtd/mtdcore.c: make symbols static akpm
@ 2009-08-10  7:20 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2009-08-10  7:20 UTC (permalink / raw)
  To: akpm; +Cc: hsweeten, hartleys, dwmw2, linux-mtd

On Thu, 2009-08-06 at 16:05 -0700, akpm@linux-foundation.org wrote:
> From: H Hartley Sweeten <hartleys@visionengravers.com>
> 
> Make mtd_group and mtd_groups static since they are only used in this
> file.
> 
> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
> Cc: David Woodhouse <dwmw2@infradead.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

This one is in my l2-mtd-2.6.git now.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-10  7:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-06 23:05 [patch 3/8] drivers/mtd/mtdcore.c: make symbols static akpm
2009-08-10  7:20 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).