Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[pandora-kernel.git] / arch / mips / mips-boards / generic / memory.c
index ae39953..5e443bb 100644 (file)
@@ -37,7 +37,7 @@ enum yamon_memtypes {
        yamon_prom,
        yamon_free,
 };
-struct prom_pmemblock mdesc[PROM_MAX_PMEMBLOCKS];
+static struct prom_pmemblock mdesc[PROM_MAX_PMEMBLOCKS];
 
 #ifdef DEBUG
 static char *mtypes[3] = {
@@ -50,7 +50,7 @@ static char *mtypes[3] = {
 /* determined physical memory size, not overridden by command line args  */
 unsigned long physical_memsize = 0L;
 
-struct prom_pmemblock * __init prom_getmdesc(void)
+static struct prom_pmemblock * __init prom_getmdesc(void)
 {
        char *memsize_str;
        unsigned int memsize;
@@ -125,7 +125,7 @@ struct prom_pmemblock * __init prom_getmdesc(void)
        return &mdesc[0];
 }
 
-static int __init prom_memtype_classify (unsigned int type)
+static int __init prom_memtype_classify(unsigned int type)
 {
        switch (type) {
        case yamon_free:
@@ -158,7 +158,7 @@ void __init prom_meminit(void)
                long type;
                unsigned long base, size;
 
-               type = prom_memtype_classify (p->type);
+               type = prom_memtype_classify(p->type);
                base = p->base;
                size = p->size;