]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] Make init_oct5066 function static
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Tue, 25 Nov 2008 00:55:02 +0000 (02:55 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:00:56 +0000 (13:00 +0000)
The function init_oct5066 is needlessly defined global in
drivers/mtd/maps/octagon-5066.c. Make it static.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/octagon-5066.c

index 43e04c1d22a9dd74140f51e3f42092b7b950d0d4..2b2e45093218fca47a36a80fba14f6505421e67c 100644 (file)
@@ -184,7 +184,7 @@ void cleanup_oct5066(void)
        release_region(PAGE_IO, 1);
 }
 
-int __init init_oct5066(void)
+static int __init init_oct5066(void)
 {
        int i;
        int ret = 0;