summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/cmdlinepart.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-11-25 20:15:41 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-11-28 23:19:16 +0100
commitddacff1f20fc5c96cc73e2975258e05d298c97cc (patch)
treee5474b87ae5405344881f2e70a5886c836f54b8c /drivers/mtd/cmdlinepart.c
parent[MTD] [NAND] rtc_from4.c: use lib/bitrev.c (diff)
downloadlinux-ddacff1f20fc5c96cc73e2975258e05d298c97cc.tar.xz
linux-ddacff1f20fc5c96cc73e2975258e05d298c97cc.zip
[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>
Diffstat (limited to 'drivers/mtd/cmdlinepart.c')
-rw-r--r--drivers/mtd/cmdlinepart.c2
1 files changed, 1 insertions, 1 deletions
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;