Skip to content

Commit ddacff1

Browse files
AdrianBunkdwmw2
authored andcommitted
[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>
1 parent 1605cd3 commit ddacff1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/mtd/cmdlinepart.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ static int parse_cmdline_partitions(struct mtd_info *master,
346346
*
347347
* This function needs to be visible for bootloaders.
348348
*/
349-
int mtdpart_setup(char *s)
349+
static int mtdpart_setup(char *s)
350350
{
351351
cmdline = s;
352352
return 1;

0 commit comments

Comments
 (0)