File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change 15
15
#include <linux/of_address.h>
16
16
#include <linux/of_irq.h>
17
17
18
+ #include <asm/time.h>
19
+
18
20
#define AR71XX_RESET_REG_MISC_INT_STATUS 0
19
21
#define AR71XX_RESET_REG_MISC_INT_ENABLE 4
20
22
@@ -177,21 +179,3 @@ static int __init ar7240_misc_intc_of_init(
177
179
178
180
IRQCHIP_DECLARE (ar7240_misc_intc , "qca,ar7240-misc-intc" ,
179
181
ar7240_misc_intc_of_init );
180
-
181
- void __init ath79_misc_irq_init (void __iomem * regs , int irq ,
182
- int irq_base , bool is_ar71xx )
183
- {
184
- struct irq_domain * domain ;
185
-
186
- if (is_ar71xx )
187
- ath79_misc_irq_chip .irq_mask_ack = ar71xx_misc_irq_mask ;
188
- else
189
- ath79_misc_irq_chip .irq_ack = ar724x_misc_irq_ack ;
190
-
191
- domain = irq_domain_create_legacy (NULL , ATH79_MISC_IRQ_COUNT ,
192
- irq_base , 0 , & misc_irq_domain_ops , regs );
193
- if (!domain )
194
- panic ("Failed to create MISC irqdomain" );
195
-
196
- ath79_misc_intc_domain_init (domain , irq );
197
- }
You can’t perform that action at this time.
0 commit comments