projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1605cd3
)
[MTD] make drivers/mtd/cmdlinepart.c:mtdpart_setup() static
author
Adrian Bunk
<bunk@stusta.de>
Sat, 25 Nov 2006 19:15:41 +0000
(20:15 +0100)
committer
David Woodhouse
<dwmw2@infradead.org>
Tue, 28 Nov 2006 22:19:16 +0000
(22:19 +0000)
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>
drivers/mtd/cmdlinepart.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/cmdlinepart.c
b/drivers/mtd/cmdlinepart.c
index a7a7bfe33879e0cc56bb07d25e4b23b7302b65f7..3402ce448702bfa897bd9f9e4468c1e5e16b9324 100644
(file)
--- a/
drivers/mtd/cmdlinepart.c
+++ b/
drivers/mtd/cmdlinepart.c
@@
-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;