diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-03-29 22:18:50 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-03-29 22:18:50 +0000 |
commit | f5b93badec3a9c16dbae0cab8496cee9b0a73071 (patch) | |
tree | adcb1d7256d88415efbc5776e67f541d83331349 /target/linux/adm5120-2.6 | |
parent | ae90a1394d812050bd7f88dd4ec4ec35988deb0b (diff) | |
download | upstream-f5b93badec3a9c16dbae0cab8496cee9b0a73071.tar.gz upstream-f5b93badec3a9c16dbae0cab8496cee9b0a73071.tar.bz2 upstream-f5b93badec3a9c16dbae0cab8496cee9b0a73071.zip |
Fix warning
SVN-Revision: 6756
Diffstat (limited to 'target/linux/adm5120-2.6')
-rw-r--r-- | target/linux/adm5120-2.6/files/arch/mips/adm5120/memory.c | 4 |
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; } |