From 2ee38645b1553a0e91422a83c80cd61cb5fa7190 Mon Sep 17 00:00:00 2001 From: Arnaud Patard Date: Thu, 1 Feb 2007 10:15:48 -0800 Subject: [PATCH] mtd/cmdlinepart.c: remove static declaration of mtdpart_setup Revert the following commit : commit ddacff1f20fc5c96cc73e2975258e05d298c97cc Author: Adrian Bunk Date: Sat Nov 25 20:15:41 2006 +0100 [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 Otherwise, the omap-hw can't work when the partition layout is in a TAG. --- drivers/mtd/cmdlinepart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c index 23fab14f163..3d26615c5e6 100644 --- a/drivers/mtd/cmdlinepart.c +++ b/drivers/mtd/cmdlinepart.c @@ -345,7 +345,7 @@ static int parse_cmdline_partitions(struct mtd_info *master, * * This function needs to be visible for bootloaders. */ -static int mtdpart_setup(char *s) +int mtdpart_setup(char *s) { cmdline = s; return 1; -- 2.41.1