Skip to content

Commit

Permalink
[MTD] Make init_mbx function static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitri Vorobiev authored and David Woodhouse committed Dec 10, 2008
1 parent 1aed165 commit 9cdd52f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/maps/mbx860.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9cdd52f

Please sign in to comment.