Source
63
63
.irq_mask = sa1100_mask_irq,
64
64
.irq_unmask = sa1100_unmask_irq,
65
65
.irq_set_wake = sa1100_set_wake,
66
66
};
67
67
68
68
static int sa1100_normal_irqdomain_map(struct irq_domain *d,
69
69
unsigned int irq, irq_hw_number_t hwirq)
70
70
{
71
71
irq_set_chip_and_handler(irq, &sa1100_normal_chip,
72
72
handle_level_irq);
73
-
set_irq_flags(irq, IRQF_VALID);
74
73
75
74
return 0;
76
75
}
77
76
78
77
static const struct irq_domain_ops sa1100_normal_irqdomain_ops = {
79
78
.map = sa1100_normal_irqdomain_map,
80
79
.xlate = irq_domain_xlate_onetwocell,
81
80
};
82
81
83
82
static struct irq_domain *sa1100_normal_irqdomain;