[2.6 patch] make drivers/mtd/cmdlinepart.c:mtdpart_setup() static

Adrian Bunk bunk at stusta.de
Sat Nov 25 14:15:41 EST 2006


This patch makes the needlessly global mtdpart_setup() static.

Signed-off-by: Adrian Bunk <bunk at 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;





More information about the linux-mtd mailing list