Commit d6909cf6 authored by David Woodhouse's avatar David Woodhouse Committed by David Woodhouse

MTD cmdlinepart: Allow partition definitions to be set from elsewhere

... by making mtdpart_setup() non-static

Patch from Juha Yrjölä committed by Jarkko Lavinen.
Signed-Off-By: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent d0669b55
/*
* $Id: cmdlinepart.c,v 1.14 2004/07/12 12:34:23 dwmw2 Exp $
* $Id: cmdlinepart.c,v 1.15 2004/09/21 12:11:41 lavinen Exp $
*
* Read flash partition table from command line
*
......@@ -339,7 +339,7 @@ static int parse_cmdline_partitions(struct mtd_info *master,
* main.c::checksetup(). Note that we can not yet kmalloc() anything,
* so we only save the commandline for later processing.
*/
static int __init mtdpart_setup(char *s)
int mtdpart_setup(char *s)
{
cmdline = s;
return 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment