summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>2008-11-25 01:54:59 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-12-10 14:01:32 +0100
commit4f8f3af20ac5a1e58b419a98dfe76522885b5355 (patch)
treee6960f1b3dcc9074f45b8051a0607442f81f4c0b /drivers
parent[MTD] Make init_redwood_flash function static (diff)
downloadlinux-4f8f3af20ac5a1e58b419a98dfe76522885b5355.tar.xz
linux-4f8f3af20ac5a1e58b419a98dfe76522885b5355.zip
[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 <dmitri.vorobiev@movial.fi> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/maps/impa7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/impa7.c b/drivers/mtd/maps/impa7.c
index 2682ab51a367..998a27da97f3 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;