From: Adrian Bunk Date: Sat, 25 Nov 2006 19:15:41 +0000 (+0100) Subject: [MTD] make drivers/mtd/cmdlinepart.c:mtdpart_setup() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ddacff1f20fc5c96cc73e2975258e05d298c97cc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [MTD] make drivers/mtd/cmdlinepart.c:mtdpart_setup() static This patch makes the needlessly global mtdpart_setup() static. Signed-off-by: Adrian Bunk Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c index a7a7bfe33879..3402ce448702 100644 --- a/drivers/mtd/cmdlinepart.c +++ b/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;