]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
mtd/cmdlinepart.c: remove static declaration of mtdpart_setup
authorArnaud Patard <arnaud.patard@rtp-net.org>
Thu, 1 Feb 2007 18:15:48 +0000 (10:15 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 1 Feb 2007 18:17:58 +0000 (10:17 -0800)
Revert the following commit :

commit ddacff1f20fc5c96cc73e2975258e05d298c97cc
Author: Adrian Bunk <bunk@stusta.de>
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 <bunk@stusta.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Otherwise, the omap-hw can't work when the partition layout is in a TAG.

drivers/mtd/cmdlinepart.c

index 23fab14f1637cab5fb4ee175ff5eaea6db141915..3d26615c5e670dba62c0277447ee2fd843f945b7 100644 (file)
@@ -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;