summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-iop32x/glantank.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2022-04-02 16:45:07 +0200
committerArnd Bergmann <arnd@arndb.de>2022-04-08 17:20:49 +0200
commita3102fafdce6f150e5a46e1725bb1732f8953a01 (patch)
tree294d078bcd402eea96a14706d5c64201ab791d9d /arch/arm/mach-iop32x/glantank.c
parentARM: s3c: enable s3c24xx multiplatform support (diff)
downloadlinux-a3102fafdce6f150e5a46e1725bb1732f8953a01.tar.xz
linux-a3102fafdce6f150e5a46e1725bb1732f8953a01.zip
ARM: iop32x: enable multiplatform support
After iop32x was converted to the generic multi-irq entry code, nothing really stops us from building it into a generic kernel. The two last headers can simply be removed, the mach/irqs.h gets replaced with the sparse-irq intiialization from the board specific .nr_irqs value, and the decompressor debug output can use the debug_ll hack that all other platforms use. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-iop32x/glantank.c')
-rw-r--r--arch/arm/mach-iop32x/glantank.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-iop32x/glantank.c b/arch/arm/mach-iop32x/glantank.c
index 2fe0f77d1f1d..cd6e7da2ea10 100644
--- a/arch/arm/mach-iop32x/glantank.c
+++ b/arch/arm/mach-iop32x/glantank.c
@@ -205,6 +205,7 @@ static void __init glantank_init_machine(void)
MACHINE_START(GLANTANK, "GLAN Tank")
/* Maintainer: Lennert Buytenhek <buytenh@wantstofly.org> */
.atag_offset = 0x100,
+ .nr_irqs = IOP32X_NR_IRQS,
.map_io = glantank_map_io,
.init_irq = iop32x_init_irq,
.init_time = glantank_timer_init,