sh: remove obsolete hw_interrupt_type
Impact: cleanup Convert the last remaining users to struct irq_chip and remove the define. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
0cd5f7b0c7
commit
d804983982
@ -39,7 +39,7 @@ static unsigned int startup_imask_irq(unsigned int irq)
|
|||||||
return 0; /* never anything pending */
|
return 0; /* never anything pending */
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct hw_interrupt_type imask_irq_type = {
|
static struct irq_chip imask_irq_type = {
|
||||||
.typename = "SR.IMASK",
|
.typename = "SR.IMASK",
|
||||||
.startup = startup_imask_irq,
|
.startup = startup_imask_irq,
|
||||||
.shutdown = shutdown_imask_irq,
|
.shutdown = shutdown_imask_irq,
|
||||||
|
@ -84,7 +84,7 @@ static void disable_intc_irq(unsigned int irq);
|
|||||||
static void mask_and_ack_intc(unsigned int);
|
static void mask_and_ack_intc(unsigned int);
|
||||||
static void end_intc_irq(unsigned int irq);
|
static void end_intc_irq(unsigned int irq);
|
||||||
|
|
||||||
static struct hw_interrupt_type intc_irq_type = {
|
static struct irq_chip intc_irq_type = {
|
||||||
.typename = "INTC",
|
.typename = "INTC",
|
||||||
.startup = startup_intc_irq,
|
.startup = startup_intc_irq,
|
||||||
.shutdown = shutdown_intc_irq,
|
.shutdown = shutdown_intc_irq,
|
||||||
|
Loading…
Reference in New Issue
Block a user