Skip to content

Commit

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

0 comments on commit bc18540

Please sign in to comment.