From: Dmitri Vorobiev Date: Tue, 25 Nov 2008 00:55:05 +0000 (+0200) Subject: [MTD] Make init_rpxlite function static X-Git-Tag: v2.6.29-rc1~33^2~50 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bc185405c84327098b33c11353ca579169f0728f;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/rpxlite.c b/drivers/mtd/maps/rpxlite.c index 14d90edb443..3e3ef53d4fd 100644 --- a/drivers/mtd/maps/rpxlite.c +++ b/drivers/mtd/maps/rpxlite.c @@ -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);