From: Dmitri Vorobiev Date: Tue, 25 Nov 2008 00:55:00 +0000 (+0200) Subject: [MTD] Make ipaq_mtd_init function static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9bd1c9dac880c85f5f142fbe3680964cdeac188a;p=openwrt%2Fstaging%2Fblogic.git [MTD] Make ipaq_mtd_init function static The symbol ipaq_mtd_init is not used anywhere outside of drivers/mtd/maps/ipaq-flash.c, so make it static. Signed-off-by: Dmitri Vorobiev Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/ipaq-flash.c b/drivers/mtd/maps/ipaq-flash.c index ed58f6a77bd9..748c85f635f1 100644 --- a/drivers/mtd/maps/ipaq-flash.c +++ b/drivers/mtd/maps/ipaq-flash.c @@ -202,7 +202,7 @@ static const char *part_probes[] = { "cmdlinepart", "RedBoot", NULL }; static int __init h1900_special_case(void); -int __init ipaq_mtd_init(void) +static int __init ipaq_mtd_init(void) { struct mtd_partition *parts = NULL; int nb_parts = 0;