Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;