projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a2b397
)
[MTD] Make init_impa7 static
author
Dmitri Vorobiev
<dmitri.vorobiev@movial.fi>
Tue, 25 Nov 2008 00:54:59 +0000
(
02:54
+0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:01:32 +0000
(13:01 +0000)
The function init_impa7 does not need to be global, and
this patch makes it static by adding the needed keyword
to drivers/mtd/maps/impa7.c.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/impa7.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/impa7.c
b/drivers/mtd/maps/impa7.c
index 2682ab51a36786732fdd08b83b8cde83f331ad62..998a27da97f315bf77f91e670fef6fd5905f68d3 100644
(file)
--- a/
drivers/mtd/maps/impa7.c
+++ b/
drivers/mtd/maps/impa7.c
@@
-70,7
+70,7
@@
static struct mtd_partition *mtd_parts[NUM_FLASHBANKS];
static const char *probes[] = { "cmdlinepart", NULL };
-int __init init_impa7(void)
+
static
int __init init_impa7(void)
{
static const char *rom_probe_types[] = PROBETYPES;
const char **type;