LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [2.6 patch] make mtd/nand/cs553x_nand.c:part_probes[] static
@ 2008-02-13 21:30 Adrian Bunk
  2008-02-14  7:16 ` Mart Raudsepp
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-02-13 21:30 UTC (permalink / raw)
  To: Mart Raudsepp, David Woodhouse; +Cc: linux-mtd, linux-kernel

This patch makes the needlessly global part_probes[] static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
054adb5b7a0d1ebaef61192ccf78df37aec42270 diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c
index 8dab696..3370a80 100644
--- a/drivers/mtd/nand/cs553x_nand.c
+++ b/drivers/mtd/nand/cs553x_nand.c
@@ -279,7 +279,7 @@ static int is_geode(void)
 
 
 #ifdef CONFIG_MTD_PARTITIONS
-const char *part_probes[] = { "cmdlinepart", NULL };
+static const char *part_probes[] = { "cmdlinepart", NULL };
 #endif
 
 


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

* Re: [2.6 patch] make mtd/nand/cs553x_nand.c:part_probes[] static
  2008-02-13 21:30 [2.6 patch] make mtd/nand/cs553x_nand.c:part_probes[] static Adrian Bunk
@ 2008-02-14  7:16 ` Mart Raudsepp
  0 siblings, 0 replies; 2+ messages in thread
From: Mart Raudsepp @ 2008-02-14  7:16 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: David Woodhouse, linux-mtd, linux-kernel


Ühel kenal päeval, K, 2008-02-13 kell 23:30, kirjutas Adrian Bunk:
> This patch makes the needlessly global part_probes[] static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Acked-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>

Note that many other drivers in mtd/nand have the same part_probes array
global instead of static.



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

end of thread, other threads:[~2008-02-14  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-13 21:30 [2.6 patch] make mtd/nand/cs553x_nand.c:part_probes[] static Adrian Bunk
2008-02-14  7:16 ` Mart Raudsepp

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).