[MTD] make drivers/mtd/cmdlinepart.c:mtdpart_setup() static
authorAdrian Bunk <bunk@stusta.de>
Sat, 25 Nov 2006 19:15:41 +0000 (20:15 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 28 Nov 2006 22:19:16 +0000 (22:19 +0000)
This patch makes the needlessly global mtdpart_setup() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/cmdlinepart.c

index a7a7bfe..3402ce4 100644 (file)
@@ -346,7 +346,7 @@ static int parse_cmdline_partitions(struct mtd_info *master,
  *
  * This function needs to be visible for bootloaders.
  */
-int mtdpart_setup(char *s)
+static int mtdpart_setup(char *s)
 {
        cmdline = s;
        return 1;