diff options
Diffstat (limited to 'arch/arm/mach-mv78xx0')
-rw-r--r-- | arch/arm/mach-mv78xx0/buffalo-wxl-setup.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mv78xx0/db78x00-bp-setup.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mv78xx0/include/mach/irqs.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-mv78xx0/include/mach/mv78xx0.h | 2 | ||||
-rw-r--r-- | arch/arm/mach-mv78xx0/rd78x00-masa-setup.c | 1 |
5 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-mv78xx0/buffalo-wxl-setup.c b/arch/arm/mach-mv78xx0/buffalo-wxl-setup.c index 1f2ef98b37c6..1607fd5e206e 100644 --- a/arch/arm/mach-mv78xx0/buffalo-wxl-setup.c +++ b/arch/arm/mach-mv78xx0/buffalo-wxl-setup.c | |||
@@ -146,6 +146,7 @@ subsys_initcall(wxl_pci_init); | |||
146 | MACHINE_START(TERASTATION_WXL, "Buffalo Nas WXL") | 146 | MACHINE_START(TERASTATION_WXL, "Buffalo Nas WXL") |
147 | /* Maintainer: Sebastien Requiem <sebastien@requiem.fr> */ | 147 | /* Maintainer: Sebastien Requiem <sebastien@requiem.fr> */ |
148 | .atag_offset = 0x100, | 148 | .atag_offset = 0x100, |
149 | .nr_irqs = MV78XX0_NR_IRQS, | ||
149 | .init_machine = wxl_init, | 150 | .init_machine = wxl_init, |
150 | .map_io = mv78xx0_map_io, | 151 | .map_io = mv78xx0_map_io, |
151 | .init_early = mv78xx0_init_early, | 152 | .init_early = mv78xx0_init_early, |
diff --git a/arch/arm/mach-mv78xx0/db78x00-bp-setup.c b/arch/arm/mach-mv78xx0/db78x00-bp-setup.c index 4e0f22b30bc8..0c5dd6fceb6b 100644 --- a/arch/arm/mach-mv78xx0/db78x00-bp-setup.c +++ b/arch/arm/mach-mv78xx0/db78x00-bp-setup.c | |||
@@ -94,6 +94,7 @@ subsys_initcall(db78x00_pci_init); | |||
94 | MACHINE_START(DB78X00_BP, "Marvell DB-78x00-BP Development Board") | 94 | MACHINE_START(DB78X00_BP, "Marvell DB-78x00-BP Development Board") |
95 | /* Maintainer: Lennert Buytenhek <buytenh@marvell.com> */ | 95 | /* Maintainer: Lennert Buytenhek <buytenh@marvell.com> */ |
96 | .atag_offset = 0x100, | 96 | .atag_offset = 0x100, |
97 | .nr_irqs = MV78XX0_NR_IRQS, | ||
97 | .init_machine = db78x00_init, | 98 | .init_machine = db78x00_init, |
98 | .map_io = mv78xx0_map_io, | 99 | .map_io = mv78xx0_map_io, |
99 | .init_early = mv78xx0_init_early, | 100 | .init_early = mv78xx0_init_early, |
diff --git a/arch/arm/mach-mv78xx0/include/mach/irqs.h b/arch/arm/mach-mv78xx0/include/mach/irqs.h index fa1d422196c2..ac96bcf3d268 100644 --- a/arch/arm/mach-mv78xx0/include/mach/irqs.h +++ b/arch/arm/mach-mv78xx0/include/mach/irqs.h | |||
@@ -88,7 +88,7 @@ | |||
88 | #define IRQ_MV78XX0_GPIO_START 96 | 88 | #define IRQ_MV78XX0_GPIO_START 96 |
89 | #define NR_GPIO_IRQS 32 | 89 | #define NR_GPIO_IRQS 32 |
90 | 90 | ||
91 | #define NR_IRQS (IRQ_MV78XX0_GPIO_START + NR_GPIO_IRQS) | 91 | #define MV78XX0_NR_IRQS (IRQ_MV78XX0_GPIO_START + NR_GPIO_IRQS) |
92 | 92 | ||
93 | 93 | ||
94 | #endif | 94 | #endif |
diff --git a/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h b/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h index 723748d8ba7d..0972d5f9b46d 100644 --- a/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h +++ b/arch/arm/mach-mv78xx0/include/mach/mv78xx0.h | |||
@@ -12,6 +12,8 @@ | |||
12 | #ifndef __ASM_ARCH_MV78XX0_H | 12 | #ifndef __ASM_ARCH_MV78XX0_H |
13 | #define __ASM_ARCH_MV78XX0_H | 13 | #define __ASM_ARCH_MV78XX0_H |
14 | 14 | ||
15 | #include "irqs.h" | ||
16 | |||
15 | /* | 17 | /* |
16 | * Marvell MV78xx0 address maps. | 18 | * Marvell MV78xx0 address maps. |
17 | * | 19 | * |
diff --git a/arch/arm/mach-mv78xx0/rd78x00-masa-setup.c b/arch/arm/mach-mv78xx0/rd78x00-masa-setup.c index d2d06f3957f3..a0a3debf8c21 100644 --- a/arch/arm/mach-mv78xx0/rd78x00-masa-setup.c +++ b/arch/arm/mach-mv78xx0/rd78x00-masa-setup.c | |||
@@ -79,6 +79,7 @@ subsys_initcall(rd78x00_pci_init); | |||
79 | MACHINE_START(RD78X00_MASA, "Marvell RD-78x00-MASA Development Board") | 79 | MACHINE_START(RD78X00_MASA, "Marvell RD-78x00-MASA Development Board") |
80 | /* Maintainer: Lennert Buytenhek <buytenh@marvell.com> */ | 80 | /* Maintainer: Lennert Buytenhek <buytenh@marvell.com> */ |
81 | .atag_offset = 0x100, | 81 | .atag_offset = 0x100, |
82 | .nr_irqs = MV78XX0_NR_IRQS, | ||
82 | .init_machine = rd78x00_masa_init, | 83 | .init_machine = rd78x00_masa_init, |
83 | .map_io = mv78xx0_map_io, | 84 | .map_io = mv78xx0_map_io, |
84 | .init_early = mv78xx0_init_early, | 85 | .init_early = mv78xx0_init_early, |