Skip to content

Commit

Permalink
[ARM] 3873/1: S3C24XX: Add irq_chip names
Browse files Browse the repository at this point in the history
Add names to all the irq_chip structes

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Ben Dooks authored and Russell King committed Sep 28, 2006
1 parent 625ac11 commit 82606c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/arm/mach-s3c2410/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,15 @@ s3c_irq_unmask(unsigned int irqno)
}

struct irqchip s3c_irq_level_chip = {
.name = "s3c-level",
.ack = s3c_irq_maskack,
.mask = s3c_irq_mask,
.unmask = s3c_irq_unmask,
.set_wake = s3c_irq_wake
};

static struct irqchip s3c_irq_chip = {
.name = "s3c",
.ack = s3c_irq_ack,
.mask = s3c_irq_mask,
.unmask = s3c_irq_unmask,
Expand Down Expand Up @@ -343,6 +345,7 @@ s3c_irqext_type(unsigned int irq, unsigned int type)
}

static struct irqchip s3c_irqext_chip = {
.name = "s3c-ext",
.mask = s3c_irqext_mask,
.unmask = s3c_irqext_unmask,
.ack = s3c_irqext_ack,
Expand All @@ -351,6 +354,7 @@ static struct irqchip s3c_irqext_chip = {
};

static struct irqchip s3c_irq_eint0t4 = {
.name = "s3c-ext0",
.ack = s3c_irq_ack,
.mask = s3c_irq_mask,
.unmask = s3c_irq_unmask,
Expand Down Expand Up @@ -387,6 +391,7 @@ s3c_irq_uart0_ack(unsigned int irqno)
}

static struct irqchip s3c_irq_uart0 = {
.name = "s3c-uart0",
.mask = s3c_irq_uart0_mask,
.unmask = s3c_irq_uart0_unmask,
.ack = s3c_irq_uart0_ack,
Expand All @@ -413,6 +418,7 @@ s3c_irq_uart1_ack(unsigned int irqno)
}

static struct irqchip s3c_irq_uart1 = {
.name = "s3c-uart1",
.mask = s3c_irq_uart1_mask,
.unmask = s3c_irq_uart1_unmask,
.ack = s3c_irq_uart1_ack,
Expand All @@ -439,6 +445,7 @@ s3c_irq_uart2_ack(unsigned int irqno)
}

static struct irqchip s3c_irq_uart2 = {
.name = "s3c-uart2",
.mask = s3c_irq_uart2_mask,
.unmask = s3c_irq_uart2_unmask,
.ack = s3c_irq_uart2_ack,
Expand All @@ -465,6 +472,7 @@ s3c_irq_adc_ack(unsigned int irqno)
}

static struct irqchip s3c_irq_adc = {
.name = "s3c-adc",
.mask = s3c_irq_adc_mask,
.unmask = s3c_irq_adc_unmask,
.ack = s3c_irq_adc_ack,
Expand Down

0 comments on commit 82606c6

Please sign in to comment.