Commit ddacff1f authored by Adrian Bunk's avatar Adrian Bunk Committed by David Woodhouse

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

This patch makes the needlessly global mtdpart_setup() static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 1605cd3d
...@@ -346,7 +346,7 @@ static int parse_cmdline_partitions(struct mtd_info *master, ...@@ -346,7 +346,7 @@ static int parse_cmdline_partitions(struct mtd_info *master,
* *
* This function needs to be visible for bootloaders. * This function needs to be visible for bootloaders.
*/ */
int mtdpart_setup(char *s) static int mtdpart_setup(char *s)
{ {
cmdline = s; cmdline = s;
return 1; return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment