[MTD] make drivers/mtd/cmdlinepart.c:mtdpart_setup() static

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Nov 28 17:59:01 EST 2006


Commit:     ddacff1f20fc5c96cc73e2975258e05d298c97cc
Parent:     1605cd3d9c5001790c2e36979cf1eff1f222fbc5
commit ddacff1f20fc5c96cc73e2975258e05d298c97cc
Author:     Adrian Bunk <bunk at stusta.de>
AuthorDate: Sat Nov 25 20:15:41 2006 +0100
Commit:     David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Nov 28 22:19:16 2006 +0000

    [MTD] make drivers/mtd/cmdlinepart.c:mtdpart_setup() static
    
    This patch makes the needlessly global mtdpart_setup() static.
    
    Signed-off-by: Adrian Bunk <bunk at stusta.de>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/cmdlinepart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c
index a7a7bfe..3402ce4 100644
--- a/drivers/mtd/cmdlinepart.c
+++ b/drivers/mtd/cmdlinepart.c
@@ -346,7 +346,7 @@ static int parse_cmdline_partitions(stru
  *
  * This function needs to be visible for bootloaders.
  */
-int mtdpart_setup(char *s)
+static int mtdpart_setup(char *s)
 {
 	cmdline = s;
 	return 1;



More information about the linux-mtd-cvs mailing list