Skip to content

Commit

Permalink
[MTD] make drivers/mtd/cmdlinepart.c:mtdpart_setup() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David Woodhouse committed Nov 28, 2006
1 parent 1605cd3 commit ddacff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/cmdlinepart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ddacff1

Please sign in to comment.