public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] make drivers/mtd/cmdlinepart.c:mtdpart_setup() static
@ 2006-06-26 22:02 Adrian Bunk
  2006-06-27 13:49 ` David Woodhouse
  0 siblings, 1 reply; 11+ messages in thread
From: Adrian Bunk @ 2006-06-26 22:02 UTC (permalink / raw)
  To: dwmw2; +Cc: linux-mtd, linux-kernel

This patch makes the needlessly global mtdpart_setup() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.17-mm2-full/drivers/mtd/cmdlinepart.c.old	2006-06-26 23:18:39.000000000 +0200
+++ linux-2.6.17-mm2-full/drivers/mtd/cmdlinepart.c	2006-06-26 23:18:51.000000000 +0200
@@ -346,7 +346,7 @@
  *
  * This function needs to be visible for bootloaders.
  */
-int mtdpart_setup(char *s)
+static int mtdpart_setup(char *s)
 {
 	cmdline = s;
 	return 1;


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [2.6 patch] make drivers/mtd/cmdlinepart.c:mtdpart_setup() static
@ 2006-11-25 19:15 Adrian Bunk
  2006-11-28 22:19 ` David Woodhouse
  2006-11-30 18:45 ` Andy Isaacson
  0 siblings, 2 replies; 11+ messages in thread
From: Adrian Bunk @ 2006-11-25 19:15 UTC (permalink / raw)
  To: Andrew Morton; +Cc: dwmw2, linux-mtd, linux-kernel

This patch makes the needlessly global mtdpart_setup() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 27 Jun 2006

--- linux-2.6.17-mm2-full/drivers/mtd/cmdlinepart.c.old	2006-06-26 23:18:39.000000000 +0200
+++ linux-2.6.17-mm2-full/drivers/mtd/cmdlinepart.c	2006-06-26 23:18:51.000000000 +0200
@@ -346,7 +346,7 @@
  *
  * This function needs to be visible for bootloaders.
  */
-int mtdpart_setup(char *s)
+static int mtdpart_setup(char *s)
 {
 	cmdline = s;
 	return 1;


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

end of thread, other threads:[~2006-12-01 13:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-26 22:02 [2.6 patch] make drivers/mtd/cmdlinepart.c:mtdpart_setup() static Adrian Bunk
2006-06-27 13:49 ` David Woodhouse
2006-06-29 17:32   ` Adrian Bunk
2006-07-09  9:12     ` David Woodhouse
2006-07-09 16:12       ` Juha Yrjölä
2006-07-10 10:56       ` Sergei Shtylyov
2006-07-10 11:37         ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2006-11-25 19:15 Adrian Bunk
2006-11-28 22:19 ` David Woodhouse
2006-11-30 18:45 ` Andy Isaacson
2006-12-01 13:41   ` Jarkko Lavinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox