From: Dmitri Vorobiev Date: Tue, 25 Nov 2008 00:54:59 +0000 (+0200) Subject: [MTD] Make init_impa7 static X-Git-Tag: v2.6.29-rc1~33^2~36 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4f8f3af20ac5a1e58b419a98dfe76522885b5355;p=linux-2.6-omap-h63xx.git [MTD] Make init_impa7 static The function init_impa7 does not need to be global, and this patch makes it static by adding the needed keyword to drivers/mtd/maps/impa7.c. Signed-off-by: Dmitri Vorobiev Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/impa7.c b/drivers/mtd/maps/impa7.c index 2682ab51a36..998a27da97f 100644 --- a/drivers/mtd/maps/impa7.c +++ b/drivers/mtd/maps/impa7.c @@ -70,7 +70,7 @@ static struct mtd_partition *mtd_parts[NUM_FLASHBANKS]; static const char *probes[] = { "cmdlinepart", NULL }; -int __init init_impa7(void) +static int __init init_impa7(void) { static const char *rom_probe_types[] = PROBETYPES; const char **type;