aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120-2.6
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-03-29 22:18:50 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-03-29 22:18:50 +0000
commitdfda819fb15034224c4fc869e3441d8aaa1605ee (patch)
tree5f9d014d3f6fde4c78fb6d40a73a4fcd9201d41e /target/linux/adm5120-2.6
parentc0c8471f46bae733d23fb093cf3a4c5c60ecc7db (diff)
downloadupstream-dfda819fb15034224c4fc869e3441d8aaa1605ee.tar.gz
upstream-dfda819fb15034224c4fc869e3441d8aaa1605ee.tar.bz2
upstream-dfda819fb15034224c4fc869e3441d8aaa1605ee.zip
Fix warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6756 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120-2.6')
-rw-r--r--target/linux/adm5120-2.6/files/arch/mips/adm5120/memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/adm5120-2.6/files/arch/mips/adm5120/memory.c b/target/linux/adm5120-2.6/files/arch/mips/adm5120/memory.c
index 726c31dba2..e5c7f0c914 100644
--- a/target/linux/adm5120-2.6/files/arch/mips/adm5120/memory.c
+++ b/target/linux/adm5120-2.6/files/arch/mips/adm5120/memory.c
@@ -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=");
-
+
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 */
- return;
+ return 0;
}