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:
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 706f67394b073cb97f8e5894bd88129de4f858cd..0eb5a7c853806147092f990162faa2926a60344f 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);