Sfoglia il codice sorgente

[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 anni fa
parent
commit
ddacff1f20
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;