1 --- a/arch/mips/include/asm/war.h
2 +++ b/arch/mips/include/asm/war.h
8 +#include <asm/mach-adm5120/war.h>
11 * Work around certain R4000 CPU errata (as implemented by GCC):
12 --- a/drivers/amba/bus.c
13 +++ b/drivers/amba/bus.c
15 #include <linux/amba/bus.h>
18 -#include <asm/sizes.h>
19 +#include <asm/mach-adm5120/asm/sizes.h>
23 --- a/drivers/watchdog/adm5120_wdt.c
24 +++ b/drivers/watchdog/adm5120_wdt.c
25 @@ -167,7 +167,7 @@ static struct file_operations wdt_fops =
30 + unlocked_ioctl: wdt_ioctl,
34 --- a/arch/mips/Kbuild.platforms
35 +++ b/arch/mips/Kbuild.platforms
37 # All platforms listed in alphabetic order
43 --- a/drivers/net/adm5120sw.c
44 +++ b/drivers/net/adm5120sw.c
46 #include <linux/platform_device.h>
48 #include <linux/irq.h>
49 +#include <asm/mach-adm5120/irq.h>
51 #include <linux/netdevice.h>
52 #include <linux/etherdevice.h>
53 --- a/arch/mips/adm5120/common/clock.c
54 +++ b/arch/mips/adm5120/common/clock.c
55 @@ -33,7 +33,7 @@ static struct clk uart_clk = {
57 struct clk *clk_get(struct device *dev, const char *id)
59 - char *name = dev_name(dev);
60 + const char *name = dev_name(dev);
62 if (!strcmp(name, "apb:uart0") || !strcmp(name, "apb:uart1"))
65 +++ b/arch/mips/adm5120/Platform
68 +# Core Infineon/ADMtek ADM5120
70 +platform-$(CONFIG_ADM5120) += adm5120/common/
75 +platform-$(CONFIG_ADM5120_OEM_CELLVISION) += adm5120/cellvision/
80 +platform-$(CONFIG_ADM5120_OEM_COMPEX) += adm5120/compex/
85 +platform-$(CONFIG_ADM5120_OEM_EDIMAX) += adm5120/edimax/
90 +platform-$(CONFIG_ADM5120_OEM_GENERIC) += adm5120/generic/
95 +platform-$(CONFIG_ADM5120_OEM_INFINEON) += adm5120/infineon/
100 +platform-$(CONFIG_ADM5120_OEM_MIKROTIK) += adm5120/mikrotik/
105 +platform-$(CONFIG_ADM5120_OEM_MOTOROLA) += adm5120/motorola/
110 +platform-$(CONFIG_ADM5120_OEM_OSBRIDGE) += adm5120/osbridge/
115 +platform-$(CONFIG_ADM5120_OEM_ZYXEL) += adm5120/zyxel/
117 +cflags-$(CONFIG_ADM5120) += -I$(srctree)/arch/mips/include/asm/mach-adm5120
118 +libs-$(CONFIG_ADM5120) += arch/mips/adm5120/prom/
119 +load-$(CONFIG_ADM5120) += 0xffffffff80001000