Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MTD] Make init_mbx function static

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>

authored by

Dmitri Vorobiev and committed by
David Woodhouse
9cdd52fa 1aed165a

+1 -1
+1 -1
drivers/mtd/maps/mbx860.c
··· 55 55 .bankwidth = 4, 56 56 }; 57 57 58 - int __init init_mbx(void) 58 + static int __init init_mbx(void) 59 59 { 60 60 printk(KERN_NOTICE "Motorola MBX flash device: 0x%x at 0x%x\n", WINDOW_SIZE*4, WINDOW_ADDR); 61 61 mbx_map.virt = ioremap(WINDOW_ADDR, WINDOW_SIZE * 4);