Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231348
b: refs/heads/master
c: b9858ef
h: refs/heads/master
v: v3
  • Loading branch information
Lennert Buytenhek committed Jan 13, 2011
1 parent 2d1ef13 commit 23635d4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 80cf22c4a6eedb312346b2b8574f35725c445ab0
refs/heads/master: b9858efad32ffa8b3e9c2bd1286121824c3cebae
20 changes: 10 additions & 10 deletions trunk/arch/arm/mach-w90x900/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@ static void nuc900_group_enable(struct group_irq *gpirq, int enable)
__raw_writel(regval, REG_AIC_GEN);
}

static void nuc900_irq_mask(unsigned int irq)
static void nuc900_irq_mask(struct irq_data *d)
{
struct group_irq *group_irq;

group_irq = NULL;

__raw_writel(1 << irq, REG_AIC_MDCR);
__raw_writel(1 << d->irq, REG_AIC_MDCR);

switch (irq) {
switch (d->irq) {
case IRQ_GROUP0:
group_irq = &group_nirq0;
break;
Expand Down Expand Up @@ -143,20 +143,20 @@ static void nuc900_irq_mask(unsigned int irq)
* to REG_AIC_EOSCR for ACK
*/

static void nuc900_irq_ack(unsigned int irq)
static void nuc900_irq_ack(struct irq_data *d)
{
__raw_writel(0x01, REG_AIC_EOSCR);
}

static void nuc900_irq_unmask(unsigned int irq)
static void nuc900_irq_unmask(struct irq_data *d)
{
struct group_irq *group_irq;

group_irq = NULL;

__raw_writel(1 << irq, REG_AIC_MECR);
__raw_writel(1 << d->irq, REG_AIC_MECR);

switch (irq) {
switch (d->irq) {
case IRQ_GROUP0:
group_irq = &group_nirq0;
break;
Expand Down Expand Up @@ -195,9 +195,9 @@ static void nuc900_irq_unmask(unsigned int irq)
}

static struct irq_chip nuc900_irq_chip = {
.ack = nuc900_irq_ack,
.mask = nuc900_irq_mask,
.unmask = nuc900_irq_unmask,
.irq_ack = nuc900_irq_ack,
.irq_mask = nuc900_irq_mask,
.irq_unmask = nuc900_irq_unmask,
};

void __init nuc900_init_irq(void)
Expand Down

0 comments on commit 23635d4

Please sign in to comment.