Browse Source

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

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>
Adrian Bunk 18 years ago
parent
commit
ddacff1f20
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mtd/cmdlinepart.c

+ 1 - 1
drivers/mtd/cmdlinepart.c

@@ -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;