summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx-2.6/files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-26 15:58:34 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-26 15:58:34 +0000
commit168ecbc98b416cbf405f51e1e06858dc03ab186b (patch)
tree83b4b66849dd43babeccf5ac690bf87bad493b12 /target/linux/brcm47xx-2.6/files
parent622f6fef4267b48ecbdc2e810427fd2c5504b5d7 (diff)
brcm47xx-2.6 cleanup, fix the kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7339 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx-2.6/files')
-rw-r--r--target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/irq.c2
-rw-r--r--target/linux/brcm47xx-2.6/files/arch/mips/bcm947xx/prom.c3
-rw-r--r--target/linux/brcm47xx-2.6/files/drivers/mtd/maps/bcm47xx-flash.c1
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 8727a4f95..56d4c84b7 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 235d45aad..41ea0870b 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 8d4ebe42d..5068af848 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>