[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>
This commit is contained in:
parent
1605cd3d9c
commit
ddacff1f20
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue