[MTD] Make init_dbox2_flash static
The symbol init_dbox2_flash is not used outside of the file drivers/mtd/maps/dbox2-flash.c, so make it static. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
2e257a2d6d
commit
baa0f0fc5f
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ struct map_info dbox2_flash_map = {
|
||||||
.phys = WINDOW_ADDR,
|
.phys = WINDOW_ADDR,
|
||||||
};
|
};
|
||||||
|
|
||||||
int __init init_dbox2_flash(void)
|
static int __init init_dbox2_flash(void)
|
||||||
{
|
{
|
||||||
printk(KERN_NOTICE "D-Box 2 flash driver (size->0x%X mem->0x%X)\n", WINDOW_SIZE, WINDOW_ADDR);
|
printk(KERN_NOTICE "D-Box 2 flash driver (size->0x%X mem->0x%X)\n", WINDOW_SIZE, WINDOW_ADDR);
|
||||||
dbox2_flash_map.virt = ioremap(WINDOW_ADDR, WINDOW_SIZE);
|
dbox2_flash_map.virt = ioremap(WINDOW_ADDR, WINDOW_SIZE);
|
||||||
|
|
Loading…
Reference in a new issue