1 // SPDX-License-Identifier: GPL-2.0
3 * linux/arch/sh/boards/se/7751/irq.c
5 * Copyright (C) 2000 Kazumoto Kojima
7 * Hitachi SolutionEngine Support.
9 * Modified for 7751 Solution Engine by
10 * Ian da Silva and Jeremy Siegel, 2001.
13 #include <linux/init.h>
14 #include <linux/irq.h>
16 #include <mach-se/mach/se7751.h>
18 static struct ipr_data ipr_irq_table
[] = {
20 /* Add additional entries here as drivers are added and tested. */
23 static unsigned long ipr_offsets
[] = {
33 static struct ipr_desc ipr_irq_desc
= {
34 .ipr_offsets
= ipr_offsets
,
35 .nr_offsets
= ARRAY_SIZE(ipr_offsets
),
37 .ipr_data
= ipr_irq_table
,
38 .nr_irqs
= ARRAY_SIZE(ipr_irq_table
),
46 * Initialize IRQ setting
48 void __init
init_7751se_IRQ(void)
50 register_ipr_controller(&ipr_irq_desc
);