projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b93dc2e
)
[MTD] Make init_fortunet function static
author
Dmitri Vorobiev
<dmitri.vorobiev@movial.fi>
Tue, 25 Nov 2008 00:54:57 +0000
(
02:54
+0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:01:13 +0000
(13:01 +0000)
The symbol init_fortunet is needlessly defined global in
drivers/mtd/maps/fortunet.c. Make it static and clean up
the kernel global namespace.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/fortunet.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/fortunet.c
b/drivers/mtd/maps/fortunet.c
index
a8e3fde
..
1e43124
100644
(file)
--- a/
drivers/mtd/maps/fortunet.c
+++ b/
drivers/mtd/maps/fortunet.c
@@
-181,7
+181,7
@@
__setup("MTD_Partition=", MTD_New_Partition);
/* Backwards-spelling-compatibility */
__setup("MTD_Partion=", MTD_New_Partition);
-int __init init_fortunet(void)
+
static
int __init init_fortunet(void)
{
int ix,iy;
for(iy=ix=0;ix<MAX_NUM_REGIONS;ix++)