Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8049839 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Paul Mundt
Browse files

sh: remove obsolete hw_interrupt_type



Impact: cleanup

Convert the last remaining users to struct irq_chip and remove the
define.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 0cd5f7b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ static unsigned int startup_imask_irq(unsigned int irq)
	return 0; /* never anything pending */
}

static struct hw_interrupt_type imask_irq_type = {
static struct irq_chip imask_irq_type = {
	.typename = "SR.IMASK",
	.startup = startup_imask_irq,
	.shutdown = shutdown_imask_irq,
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ static void disable_intc_irq(unsigned int irq);
static void mask_and_ack_intc(unsigned int);
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",
	.startup = startup_intc_irq,
	.shutdown = shutdown_intc_irq,