Minor fixes, do not count interrupts without interrupt source as spurious (#1755)
[openwrt.git] / target / linux / adm5120-2.6 / files / arch / mips / adm5120 / memory.c
index e5c7f0c..947b5b9 100644 (file)
@@ -38,6 +38,7 @@
 #include <asm-mips/mips-boards/prom.h>
 
 extern char *prom_getenv(char *envname);
+void prom_printf(char *, ...);
 
 #define PFN_ALIGN(x)    (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
 
@@ -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 0;
 }
This page took 0.021563 seconds and 4 git commands to generate.