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:
e30bb9c
)
[MTD] Make init_rpxlite function static
author
Dmitri Vorobiev
<dmitri.vorobiev@movial.fi>
Tue, 25 Nov 2008 00:55:05 +0000
(
02:55
+0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:00:43 +0000
(13:00 +0000)
The function init_rpxlite, which is not used outside of
drivers/mtd/maps/rpxlite.c, can become static. Add the
needed keyword.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/rpxlite.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/rpxlite.c
b/drivers/mtd/maps/rpxlite.c
index 14d90edb443076d3759e98f66464b70ff22ad172..3e3ef53d4fd4cba637d9d378daca278c021809f4 100644
(file)
--- a/
drivers/mtd/maps/rpxlite.c
+++ b/
drivers/mtd/maps/rpxlite.c
@@
-23,7
+23,7
@@
static struct map_info rpxlite_map = {
.phys = WINDOW_ADDR,
};
-int __init init_rpxlite(void)
+
static
int __init init_rpxlite(void)
{
printk(KERN_NOTICE "RPX Lite or CLLF flash device: %x at %x\n", WINDOW_SIZE*4, WINDOW_ADDR);
rpxlite_map.virt = ioremap(WINDOW_ADDR, WINDOW_SIZE * 4);