diff options
Diffstat (limited to 'target/linux/brcm47xx-2.6/files')
3 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/irq.c b/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/irq.c index 8727a4f956..56d4c84b7d 100644 --- a/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/irq.c +++ b/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/irq.c @@ -59,5 +59,5 @@ void plat_irq_dispatch(void) void __init arch_init_irq(void) { - mips_cpu_irq_init(0); + mips_cpu_irq_init(); } diff --git a/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/prom.c b/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/prom.c index 235d45aadd..41ea0870b7 100644 --- a/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/prom.c +++ b/target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/prom.c @@ -56,7 +56,6 @@ void __init prom_init(void) add_memory_region(0, mem, BOOT_MEM_RAM); } -unsigned long __init prom_free_prom_memory(void) +void __init prom_free_prom_memory(void) { - return 0; } diff --git a/target/linux/brcm47xx-2.6/files/drivers/mtd/maps/bcm47xx-flash.c b/target/linux/brcm47xx-2.6/files/drivers/mtd/maps/bcm47xx-flash.c index 8d4ebe42d8..5068af848f 100644 --- a/target/linux/brcm47xx-2.6/files/drivers/mtd/maps/bcm47xx-flash.c +++ b/target/linux/brcm47xx-2.6/files/drivers/mtd/maps/bcm47xx-flash.c @@ -40,6 +40,7 @@ #include <linux/module.h> #include <linux/types.h> #include <linux/kernel.h> +#include <linux/sched.h> #include <linux/wait.h> #include <linux/mtd/mtd.h> #include <linux/mtd/map.h> |