]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] Make init_redwood_flash function static
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Tue, 25 Nov 2008 00:55:04 +0000 (02:55 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:01:29 +0000 (13:01 +0000)
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>
drivers/mtd/maps/redwood.c

index de002eb1a7fe3a943753b2622a2dd64f7cea909a..933c0b63b0167d78eea816471f67e9fe9c12b9ab 100644 (file)
@@ -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;