Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Adrian Bunk and committed by
David Woodhouse
ddacff1f 1605cd3d

+1 -1
+1 -1
drivers/mtd/cmdlinepart.c
··· 346 346 * 347 347 * This function needs to be visible for bootloaders. 348 348 */ 349 - int mtdpart_setup(char *s) 349 + static int mtdpart_setup(char *s) 350 350 { 351 351 cmdline = s; 352 352 return 1;