[MTD] Make init_rpxlite function static
The function init_rpxlite, which is not used outside of drivers/mtd/maps/rpxlite.c, can become static. Add the needed keyword. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
e30bb9cf5f
commit
bc185405c8
|
@ -23,7 +23,7 @@ static struct map_info rpxlite_map = {
|
|||
.phys = WINDOW_ADDR,
|
||||
};
|
||||
|
||||
int __init init_rpxlite(void)
|
||||
static int __init init_rpxlite(void)
|
||||
{
|
||||
printk(KERN_NOTICE "RPX Lite or CLLF flash device: %x at %x\n", WINDOW_SIZE*4, WINDOW_ADDR);
|
||||
rpxlite_map.virt = ioremap(WINDOW_ADDR, WINDOW_SIZE * 4);
|
||||
|
|
Loading…
Reference in New Issue