From: Arnaud Patard Date: Thu, 1 Feb 2007 18:15:48 +0000 (-0800) Subject: mtd/cmdlinepart.c: remove static declaration of mtdpart_setup X-Git-Tag: v2.6.21-omap1~131 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2ee38645b1553a0e91422a83c80cd61cb5fa7190;p=linux-2.6-omap-h63xx.git 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. --- 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;