X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e4cf55f5a9b5f29680b2a96180d53075b1ae4644..c30dde79405b135b38cea530745b66516896b0ea:/target/linux/adm5120-2.6/files/arch/mips/adm5120/memory.c 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 726c31dba..947b5b96a 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 @@ -38,6 +38,7 @@ #include extern char *prom_getenv(char *envname); +void prom_printf(char *, ...); #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK) @@ -83,7 +84,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 @@ -128,8 +129,7 @@ void __init prom_meminit(void) } #endif -unsigned long __init prom_free_prom_memory(void) +void __init prom_free_prom_memory(void) { /* We do not have to prom memory to free */ - return; }