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

Commit 94dee171 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Eleminate interrupt migration helper use.



> #define hw_interrupt_type       irq_chip
> typedef struct irq_chip         hw_irq_controller;
> #define no_irq_type             no_irq_chip
> typedef struct irq_desc         irq_desc_t;

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent e1e80b4d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -251,7 +251,7 @@ void restore_local_and_enable(int controller, unsigned long mask)
}


static struct hw_interrupt_type rise_edge_irq_type = {
static struct irq_chip rise_edge_irq_type = {
	.typename = "Au1000 Rise Edge",
	.startup = startup_irq,
	.shutdown = shutdown_irq,
@@ -261,7 +261,7 @@ static struct hw_interrupt_type rise_edge_irq_type = {
	.end = end_irq,
};

static struct hw_interrupt_type fall_edge_irq_type = {
static struct irq_chip fall_edge_irq_type = {
	.typename = "Au1000 Fall Edge",
	.startup = startup_irq,
	.shutdown = shutdown_irq,
@@ -271,7 +271,7 @@ static struct hw_interrupt_type fall_edge_irq_type = {
	.end = end_irq,
};

static struct hw_interrupt_type either_edge_irq_type = {
static struct irq_chip either_edge_irq_type = {
	.typename = "Au1000 Rise or Fall Edge",
	.startup = startup_irq,
	.shutdown = shutdown_irq,
@@ -281,7 +281,7 @@ static struct hw_interrupt_type either_edge_irq_type = {
	.end = end_irq,
};

static struct hw_interrupt_type level_irq_type = {
static struct irq_chip level_irq_type = {
	.typename = "Au1000 Level",
	.startup = startup_irq,
	.shutdown = shutdown_irq,
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ static void pb1200_end_irq(unsigned int irq_nr)
	}
}

static struct hw_interrupt_type external_irq_type =
static struct irq_chip external_irq_type =
{
#ifdef CONFIG_MIPS_PB1200
	"Pb1200 Ext",
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ vrc5477_irq_end(unsigned int irq)
		ll_vrc5477_irq_enable( irq - vrc5477_irq_base);
}

hw_irq_controller vrc5477_irq_controller = {
struct irq_chip vrc5477_irq_controller = {
	.typename = "vrc5477_irq",
	.startup = vrc5477_irq_startup,
	.shutdown = vrc5477_irq_shutdown,
+2 −2
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ static inline void end_ioasic_irq(unsigned int irq)
		enable_ioasic_irq(irq);
}

static struct hw_interrupt_type ioasic_irq_type = {
static struct irq_chip ioasic_irq_type = {
	.typename = "IO-ASIC",
	.startup = startup_ioasic_irq,
	.shutdown = shutdown_ioasic_irq,
@@ -121,7 +121,7 @@ static inline void end_ioasic_dma_irq(unsigned int irq)
	end_ioasic_irq(irq);
}

static struct hw_interrupt_type ioasic_dma_irq_type = {
static struct irq_chip ioasic_dma_irq_type = {
	.typename = "IO-ASIC-DMA",
	.startup = startup_ioasic_dma_irq,
	.shutdown = shutdown_ioasic_dma_irq,
+1 −1
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ static void end_kn02_irq(unsigned int irq)
		enable_kn02_irq(irq);
}

static struct hw_interrupt_type kn02_irq_type = {
static struct irq_chip kn02_irq_type = {
	.typename = "KN02-CSR",
	.startup = startup_kn02_irq,
	.shutdown = shutdown_kn02_irq,
Loading