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:
1aed165
)
[MTD] Make init_mbx function static
author
Dmitri Vorobiev
<dmitri.vorobiev@movial.fi>
Tue, 25 Nov 2008 00:55:01 +0000
(
02:55
+0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:01:20 +0000
(13:01 +0000)
The function init_mbx can become static, because it is not used
outside the file drivers/mtd/maps/mbx860.c. This patch adds the
needed keyword.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/mbx860.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/maps/mbx860.c
b/drivers/mtd/maps/mbx860.c
index
706f673
..
0eb5a7c
100644
(file)
--- a/
drivers/mtd/maps/mbx860.c
+++ b/
drivers/mtd/maps/mbx860.c
@@
-55,7
+55,7
@@
struct map_info mbx_map = {
.bankwidth = 4,
};
-int __init init_mbx(void)
+
static
int __init init_mbx(void)
{
printk(KERN_NOTICE "Motorola MBX flash device: 0x%x at 0x%x\n", WINDOW_SIZE*4, WINDOW_ADDR);
mbx_map.virt = ioremap(WINDOW_ADDR, WINDOW_SIZE * 4);