Fix warning
authorFlorian Fainelli <florian@openwrt.org>
Thu, 29 Mar 2007 22:18:50 +0000 (22:18 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 29 Mar 2007 22:18:50 +0000 (22:18 +0000)
SVN-Revision: 6756

target/linux/adm5120-2.6/files/arch/mips/adm5120/memory.c

index 726c31dba25ab2a8a942def6ecc9011d938854ea..e5c7f0c9146fd49c2c327e9c0a394066363b92fd 100644 (file)
@@ -83,7 +83,7 @@ struct prom_pmemblock * __init prom_getmdesc(void)
        ptr = strstr(cmdline, "memsize=");
        if (ptr && (ptr != cmdline) && (*(ptr - 1) != ' '))
        ptr = strstr(ptr, " memsize=");
        ptr = strstr(cmdline, "memsize=");
        if (ptr && (ptr != cmdline) && (*(ptr - 1) != ' '))
        ptr = strstr(ptr, " memsize=");
-       
+
        if (ptr)
                memsize = memparse(ptr + 8, &ptr);
        else
        if (ptr)
                memsize = memparse(ptr + 8, &ptr);
        else
@@ -131,5 +131,5 @@ void __init prom_meminit(void)
 unsigned long __init prom_free_prom_memory(void)
 {
        /* We do not have to prom memory to free */
 unsigned long __init prom_free_prom_memory(void)
 {
        /* We do not have to prom memory to free */
-        return;
+        return 0;
 }
 }