mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-11 15:40:50 +00:00
[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
@ -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…
x
Reference in New Issue
Block a user