summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>2008-11-25 00:55:04 (GMT)
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-12-10 13:01:29 (GMT)
commit9a2b3974ef3aff7994e802f07fcebe3d8e7a936d (patch)
tree4835a971d9305f4467e92266cce75f12ea0c53af /drivers/mtd
parent6127cfcd3d134ec63d0d154bb24823bd33774c10 (diff)
downloadlinux-9a2b3974ef3aff7994e802f07fcebe3d8e7a936d.tar.xz
[MTD] Make init_redwood_flash function static
The function init_redwood_flash is needlessly defined global, make it static by this patch. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/maps/redwood.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/redwood.c b/drivers/mtd/maps/redwood.c
index de002eb..933c0b6 100644
--- a/drivers/mtd/maps/redwood.c
+++ b/drivers/mtd/maps/redwood.c
@@ -122,7 +122,7 @@ struct map_info redwood_flash_map = {
static struct mtd_info *redwood_mtd;
-int __init init_redwood_flash(void)
+static int __init init_redwood_flash(void)
{
int err;