projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e63b3f9
)
[MTD] Make the function init_vmax301 static
author
Dmitri Vorobiev
<dmitri.vorobiev@movial.fi>
Tue, 25 Nov 2008 00:55:10 +0000
(
02:55
+0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:01:17 +0000
(13:01 +0000)
The function init_vmax301 is needlessly defined global in
drivers/mtd/maps/vmax301.c, and this patch makes it static.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/vmax301.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/vmax301.c
b/drivers/mtd/maps/vmax301.c
index 5a0c9a353b0fa63021834321afa2eab691c6864f..6d452dcdfe34756656e2014739ccdabeb9d29064 100644
(file)
--- a/
drivers/mtd/maps/vmax301.c
+++ b/
drivers/mtd/maps/vmax301.c
@@
-146,7
+146,7
@@
static void __exit cleanup_vmax301(void)
iounmap((void *)vmax_map[0].map_priv_1 - WINDOW_START);
}
-int __init init_vmax301(void)
+
static
int __init init_vmax301(void)
{
int i;
unsigned long iomapadr;