diff options
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/i8259.c | 15 | ||||
-rw-r--r-- | arch/mips/kernel/irq-msc01.c | 30 | ||||
-rw-r--r-- | arch/mips/kernel/irq-mv6434x.c | 15 | ||||
-rw-r--r-- | arch/mips/kernel/irq-rm7000.c | 14 | ||||
-rw-r--r-- | arch/mips/kernel/irq-rm9000.c | 28 | ||||
-rw-r--r-- | arch/mips/kernel/irq_cpu.c | 15 |
6 files changed, 56 insertions, 61 deletions
diff --git a/arch/mips/kernel/i8259.c b/arch/mips/kernel/i8259.c index 447759201d1d..bb31370cd390 100644 --- a/arch/mips/kernel/i8259.c +++ b/arch/mips/kernel/i8259.c | |||
@@ -52,14 +52,13 @@ static unsigned int startup_8259A_irq(unsigned int irq) | |||
52 | } | 52 | } |
53 | 53 | ||
54 | static struct hw_interrupt_type i8259A_irq_type = { | 54 | static struct hw_interrupt_type i8259A_irq_type = { |
55 | "XT-PIC", | 55 | .typename = "XT-PIC", |
56 | startup_8259A_irq, | 56 | .startup = startup_8259A_irq, |
57 | shutdown_8259A_irq, | 57 | .shutdown = shutdown_8259A_irq, |
58 | enable_8259A_irq, | 58 | .enable = enable_8259A_irq, |
59 | disable_8259A_irq, | 59 | .disable = disable_8259A_irq, |
60 | mask_and_ack_8259A, | 60 | .ack = mask_and_ack_8259A, |
61 | end_8259A_irq, | 61 | .end = end_8259A_irq, |
62 | NULL | ||
63 | }; | 62 | }; |
64 | 63 | ||
65 | /* | 64 | /* |
diff --git a/arch/mips/kernel/irq-msc01.c b/arch/mips/kernel/irq-msc01.c index 43c00ac0b88d..bf759e33c5ef 100644 --- a/arch/mips/kernel/irq-msc01.c +++ b/arch/mips/kernel/irq-msc01.c | |||
@@ -129,25 +129,23 @@ msc_bind_eic_interrupt (unsigned int irq, unsigned int set) | |||
129 | #define shutdown_msc_irq disable_msc_irq | 129 | #define shutdown_msc_irq disable_msc_irq |
130 | 130 | ||
131 | struct hw_interrupt_type msc_levelirq_type = { | 131 | struct hw_interrupt_type msc_levelirq_type = { |
132 | "SOC-it-Level", | 132 | .typename = "SOC-it-Level", |
133 | startup_msc_irq, | 133 | .startup = startup_msc_irq, |
134 | shutdown_msc_irq, | 134 | .shutdown = shutdown_msc_irq, |
135 | enable_msc_irq, | 135 | .enable = enable_msc_irq, |
136 | disable_msc_irq, | 136 | .disable = disable_msc_irq, |
137 | level_mask_and_ack_msc_irq, | 137 | .ack = level_mask_and_ack_msc_irq, |
138 | end_msc_irq, | 138 | .end = end_msc_irq, |
139 | NULL | ||
140 | }; | 139 | }; |
141 | 140 | ||
142 | struct hw_interrupt_type msc_edgeirq_type = { | 141 | struct hw_interrupt_type msc_edgeirq_type = { |
143 | "SOC-it-Edge", | 142 | .typename = "SOC-it-Edge", |
144 | startup_msc_irq, | 143 | .startup =startup_msc_irq, |
145 | shutdown_msc_irq, | 144 | .shutdown = shutdown_msc_irq, |
146 | enable_msc_irq, | 145 | .enable = enable_msc_irq, |
147 | disable_msc_irq, | 146 | .disable = disable_msc_irq, |
148 | edge_mask_and_ack_msc_irq, | 147 | .ack = edge_mask_and_ack_msc_irq, |
149 | end_msc_irq, | 148 | .end = end_msc_irq, |
150 | NULL | ||
151 | }; | 149 | }; |
152 | 150 | ||
153 | 151 | ||
diff --git a/arch/mips/kernel/irq-mv6434x.c b/arch/mips/kernel/irq-mv6434x.c index 088bbbc869e6..0ac067f45cf5 100644 --- a/arch/mips/kernel/irq-mv6434x.c +++ b/arch/mips/kernel/irq-mv6434x.c | |||
@@ -135,14 +135,13 @@ void ll_mv64340_irq(struct pt_regs *regs) | |||
135 | #define shutdown_mv64340_irq disable_mv64340_irq | 135 | #define shutdown_mv64340_irq disable_mv64340_irq |
136 | 136 | ||
137 | struct hw_interrupt_type mv64340_irq_type = { | 137 | struct hw_interrupt_type mv64340_irq_type = { |
138 | "MV-64340", | 138 | .typename = "MV-64340", |
139 | startup_mv64340_irq, | 139 | .startup = startup_mv64340_irq, |
140 | shutdown_mv64340_irq, | 140 | .shutdown = shutdown_mv64340_irq, |
141 | enable_mv64340_irq, | 141 | .enable = enable_mv64340_irq, |
142 | disable_mv64340_irq, | 142 | .disable = disable_mv64340_irq, |
143 | mask_and_ack_mv64340_irq, | 143 | .ack = mask_and_ack_mv64340_irq, |
144 | end_mv64340_irq, | 144 | .end = end_mv64340_irq, |
145 | NULL | ||
146 | }; | 145 | }; |
147 | 146 | ||
148 | void __init mv64340_irq_init(unsigned int base) | 147 | void __init mv64340_irq_init(unsigned int base) |
diff --git a/arch/mips/kernel/irq-rm7000.c b/arch/mips/kernel/irq-rm7000.c index f5d779fd0355..0b130c5ac5d9 100644 --- a/arch/mips/kernel/irq-rm7000.c +++ b/arch/mips/kernel/irq-rm7000.c | |||
@@ -72,13 +72,13 @@ static void rm7k_cpu_irq_end(unsigned int irq) | |||
72 | } | 72 | } |
73 | 73 | ||
74 | static hw_irq_controller rm7k_irq_controller = { | 74 | static hw_irq_controller rm7k_irq_controller = { |
75 | "RM7000", | 75 | .typename = "RM7000", |
76 | rm7k_cpu_irq_startup, | 76 | .startup = rm7k_cpu_irq_startup, |
77 | rm7k_cpu_irq_shutdown, | 77 | .shutdown = rm7k_cpu_irq_shutdown, |
78 | rm7k_cpu_irq_enable, | 78 | .enable = rm7k_cpu_irq_enable, |
79 | rm7k_cpu_irq_disable, | 79 | .disable = rm7k_cpu_irq_disable, |
80 | rm7k_cpu_irq_ack, | 80 | .ack = rm7k_cpu_irq_ack, |
81 | rm7k_cpu_irq_end, | 81 | .end = rm7k_cpu_irq_end, |
82 | }; | 82 | }; |
83 | 83 | ||
84 | void __init rm7k_cpu_irq_init(int base) | 84 | void __init rm7k_cpu_irq_init(int base) |
diff --git a/arch/mips/kernel/irq-rm9000.c b/arch/mips/kernel/irq-rm9000.c index bdd130296256..9b5f20c32acb 100644 --- a/arch/mips/kernel/irq-rm9000.c +++ b/arch/mips/kernel/irq-rm9000.c | |||
@@ -106,23 +106,23 @@ static void rm9k_cpu_irq_end(unsigned int irq) | |||
106 | } | 106 | } |
107 | 107 | ||
108 | static hw_irq_controller rm9k_irq_controller = { | 108 | static hw_irq_controller rm9k_irq_controller = { |
109 | "RM9000", | 109 | .typename = "RM9000", |
110 | rm9k_cpu_irq_startup, | 110 | .startup = rm9k_cpu_irq_startup, |
111 | rm9k_cpu_irq_shutdown, | 111 | .shutdown = rm9k_cpu_irq_shutdown, |
112 | rm9k_cpu_irq_enable, | 112 | .enable = rm9k_cpu_irq_enable, |
113 | rm9k_cpu_irq_disable, | 113 | .disable = rm9k_cpu_irq_disable, |
114 | rm9k_cpu_irq_ack, | 114 | .ack = rm9k_cpu_irq_ack, |
115 | rm9k_cpu_irq_end, | 115 | .end = rm9k_cpu_irq_end, |
116 | }; | 116 | }; |
117 | 117 | ||
118 | static hw_irq_controller rm9k_perfcounter_irq = { | 118 | static hw_irq_controller rm9k_perfcounter_irq = { |
119 | "RM9000", | 119 | .typename = "RM9000", |
120 | rm9k_perfcounter_irq_startup, | 120 | .startup = rm9k_perfcounter_irq_startup, |
121 | rm9k_perfcounter_irq_shutdown, | 121 | .shutdown = rm9k_perfcounter_irq_shutdown, |
122 | rm9k_cpu_irq_enable, | 122 | .enable = rm9k_cpu_irq_enable, |
123 | rm9k_cpu_irq_disable, | 123 | .disable = rm9k_cpu_irq_disable, |
124 | rm9k_cpu_irq_ack, | 124 | .ack = rm9k_cpu_irq_ack, |
125 | rm9k_cpu_irq_end, | 125 | .end = rm9k_cpu_irq_end, |
126 | }; | 126 | }; |
127 | 127 | ||
128 | unsigned int rm9000_perfcount_irq; | 128 | unsigned int rm9000_perfcount_irq; |
diff --git a/arch/mips/kernel/irq_cpu.c b/arch/mips/kernel/irq_cpu.c index 8f8c15fa748d..905ff843a68f 100644 --- a/arch/mips/kernel/irq_cpu.c +++ b/arch/mips/kernel/irq_cpu.c | |||
@@ -93,14 +93,13 @@ static void mips_cpu_irq_end(unsigned int irq) | |||
93 | } | 93 | } |
94 | 94 | ||
95 | static hw_irq_controller mips_cpu_irq_controller = { | 95 | static hw_irq_controller mips_cpu_irq_controller = { |
96 | "MIPS", | 96 | .typename = "MIPS", |
97 | mips_cpu_irq_startup, | 97 | .startup = mips_cpu_irq_startup, |
98 | mips_cpu_irq_shutdown, | 98 | .shutdown = mips_cpu_irq_shutdown, |
99 | mips_cpu_irq_enable, | 99 | .enable = mips_cpu_irq_enable, |
100 | mips_cpu_irq_disable, | 100 | .disable = mips_cpu_irq_disable, |
101 | mips_cpu_irq_ack, | 101 | .ack = mips_cpu_irq_ack, |
102 | mips_cpu_irq_end, | 102 | .end = mips_cpu_irq_end, |
103 | NULL /* no affinity stuff for UP */ | ||
104 | }; | 103 | }; |
105 | 104 | ||
106 | 105 | ||