mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 01:10:53 +07:00
[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
@ -69,7 +69,7 @@ struct map_info dbox2_flash_map = {
|
||||
.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);
|
||||
dbox2_flash_map.virt = ioremap(WINDOW_ADDR, WINDOW_SIZE);
|
||||
|
Loading…
Reference in New Issue
Block a user