summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>2008-11-25 02:55:04 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-12-10 13:01:29 +0000
commit9a2b3974ef3aff7994e802f07fcebe3d8e7a936d (patch)
tree4835a971d9305f4467e92266cce75f12ea0c53af /drivers
parent6127cfcd3d134ec63d0d154bb24823bd33774c10 (diff)
[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')
-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 de002eb1a7fe..933c0b63b016 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;