diff options
Diffstat (limited to 'arch/arm/mach-u300')
-rw-r--r-- | arch/arm/mach-u300/core.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-u300/include/mach/irqs.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-u300/timer.c | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 31cc9267efc1..ef6f602b7e48 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c | |||
@@ -38,13 +38,13 @@ | |||
38 | #include <asm/memory.h> | 38 | #include <asm/memory.h> |
39 | #include <asm/hardware/vic.h> | 39 | #include <asm/hardware/vic.h> |
40 | #include <asm/mach/map.h> | 40 | #include <asm/mach/map.h> |
41 | #include <asm/mach/irq.h> | ||
42 | #include <asm/mach-types.h> | 41 | #include <asm/mach-types.h> |
43 | #include <asm/mach/arch.h> | 42 | #include <asm/mach/arch.h> |
44 | 43 | ||
45 | #include <mach/coh901318.h> | 44 | #include <mach/coh901318.h> |
46 | #include <mach/hardware.h> | 45 | #include <mach/hardware.h> |
47 | #include <mach/syscon.h> | 46 | #include <mach/syscon.h> |
47 | #include <mach/irqs.h> | ||
48 | 48 | ||
49 | #include "timer.h" | 49 | #include "timer.h" |
50 | #include "spi.h" | 50 | #include "spi.h" |
@@ -1807,6 +1807,7 @@ MACHINE_START(U300, "Ericsson AB U335 S335/B335 Prototype Board") | |||
1807 | /* Maintainer: Linus Walleij <linus.walleij@stericsson.com> */ | 1807 | /* Maintainer: Linus Walleij <linus.walleij@stericsson.com> */ |
1808 | .atag_offset = 0x100, | 1808 | .atag_offset = 0x100, |
1809 | .map_io = u300_map_io, | 1809 | .map_io = u300_map_io, |
1810 | .nr_irqs = NR_IRQS_U300, | ||
1810 | .init_irq = u300_init_irq, | 1811 | .init_irq = u300_init_irq, |
1811 | .handle_irq = vic_handle_irq, | 1812 | .handle_irq = vic_handle_irq, |
1812 | .timer = &u300_timer, | 1813 | .timer = &u300_timer, |
diff --git a/arch/arm/mach-u300/include/mach/irqs.h b/arch/arm/mach-u300/include/mach/irqs.h index c09386bca206..e27425a63fa1 100644 --- a/arch/arm/mach-u300/include/mach/irqs.h +++ b/arch/arm/mach-u300/include/mach/irqs.h | |||
@@ -85,6 +85,6 @@ | |||
85 | #define IRQ_U300_GPIO_END (U300_VIC_IRQS_END) | 85 | #define IRQ_U300_GPIO_END (U300_VIC_IRQS_END) |
86 | #endif | 86 | #endif |
87 | 87 | ||
88 | #define NR_IRQS (IRQ_U300_GPIO_END - IRQ_U300_INTCON0_START) | 88 | #define NR_IRQS_U300 (IRQ_U300_GPIO_END - IRQ_U300_INTCON0_START) |
89 | 89 | ||
90 | #endif | 90 | #endif |
diff --git a/arch/arm/mach-u300/timer.c b/arch/arm/mach-u300/timer.c index 146e81531da3..1da10e20e996 100644 --- a/arch/arm/mach-u300/timer.c +++ b/arch/arm/mach-u300/timer.c | |||
@@ -17,14 +17,15 @@ | |||
17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | #include <linux/clk.h> | 18 | #include <linux/clk.h> |
19 | #include <linux/err.h> | 19 | #include <linux/err.h> |
20 | #include <linux/irq.h> | ||
20 | 21 | ||
21 | #include <mach/hardware.h> | 22 | #include <mach/hardware.h> |
23 | #include <mach/irqs.h> | ||
22 | 24 | ||
23 | /* Generic stuff */ | 25 | /* Generic stuff */ |
24 | #include <asm/sched_clock.h> | 26 | #include <asm/sched_clock.h> |
25 | #include <asm/mach/map.h> | 27 | #include <asm/mach/map.h> |
26 | #include <asm/mach/time.h> | 28 | #include <asm/mach/time.h> |
27 | #include <asm/mach/irq.h> | ||
28 | 29 | ||
29 | #include "timer.h" | 30 | #include "timer.h" |
30 | 31 | ||