Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231335
b: refs/heads/master
c: 85dcd90
h: refs/heads/master
i:
  231333: e8268a7
  231331: 2383bc8
  231327: a3bfe33
v: v3
  • Loading branch information
Lennert Buytenhek committed Jan 13, 2011
1 parent 16ca712 commit 7364ae9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 9b3ffe523af895f6b969b971079da4c06c2743af
refs/heads/master: 85dcd90ce11d24649906adc454f31f1ac3f2dc6a
16 changes: 8 additions & 8 deletions trunk/arch/arm/mach-nuc93x/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,31 @@
#include <mach/hardware.h>
#include <mach/regs-irq.h>

static void nuc93x_irq_mask(unsigned int irq)
static void nuc93x_irq_mask(struct irq_data *d)
{
__raw_writel(1 << irq, REG_AIC_MDCR);
__raw_writel(1 << d->irq, REG_AIC_MDCR);
}

/*
* By the w90p910 spec,any irq,only write 1
* to REG_AIC_EOSCR for ACK
*/

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

static void nuc93x_irq_unmask(unsigned int irq)
static void nuc93x_irq_unmask(struct irq_data *d)
{
__raw_writel(1 << irq, REG_AIC_MECR);
__raw_writel(1 << d->irq, REG_AIC_MECR);

}

static struct irq_chip nuc93x_irq_chip = {
.ack = nuc93x_irq_ack,
.mask = nuc93x_irq_mask,
.unmask = nuc93x_irq_unmask,
.irq_ack = nuc93x_irq_ack,
.irq_mask = nuc93x_irq_mask,
.irq_unmask = nuc93x_irq_unmask,
};

void __init nuc93x_init_irq(void)
Expand Down

0 comments on commit 7364ae9

Please sign in to comment.