From cc8f0901767e4f56e725656d4f5006bc07c09611 Mon Sep 17 00:00:00 2001 From: Lennert Buytenhek Date: Mon, 29 Nov 2010 11:13:40 +0100 Subject: [PATCH] --- yaml --- r: 231343 b: refs/heads/master c: 7940848aab2d16f1f6a7e77b957e40d10465f38a h: refs/heads/master i: 231341: daa5182b123b4ae891b474f57160391c76f8af20 231339: fb127ddc83c4d5b1f5b5395affe1690c856c5522 231335: 7364ae9690ecbd54d9ba87c2ea75cd838214653f 231327: a3bfe33d409ae54f597f1ff27a11ef7af35c4369 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-stmp378x/stmp378x.c | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/[refs] b/[refs] index 4fc9d644e93d..b997a33da5d4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: aab0c637f37950abd083d34e9f89311b0af61c96 +refs/heads/master: 7940848aab2d16f1f6a7e77b957e40d10465f38a diff --git a/trunk/arch/arm/mach-stmp378x/stmp378x.c b/trunk/arch/arm/mach-stmp378x/stmp378x.c index ddd49a760fd4..c2f9fe04c112 100644 --- a/trunk/arch/arm/mach-stmp378x/stmp378x.c +++ b/trunk/arch/arm/mach-stmp378x/stmp378x.c @@ -47,7 +47,7 @@ /* * IRQ handling */ -static void stmp378x_ack_irq(unsigned int irq) +static void stmp378x_ack_irq(struct irq_data *d) { /* Tell ICOLL to release IRQ line */ __raw_writel(0, REGS_ICOLL_BASE + HW_ICOLL_VECTOR); @@ -60,24 +60,24 @@ static void stmp378x_ack_irq(unsigned int irq) (void)__raw_readl(REGS_ICOLL_BASE + HW_ICOLL_STAT); } -static void stmp378x_mask_irq(unsigned int irq) +static void stmp378x_mask_irq(struct irq_data *d) { /* IRQ disable */ stmp3xxx_clearl(BM_ICOLL_INTERRUPTn_ENABLE, - REGS_ICOLL_BASE + HW_ICOLL_INTERRUPTn + irq * 0x10); + REGS_ICOLL_BASE + HW_ICOLL_INTERRUPTn + d->irq * 0x10); } -static void stmp378x_unmask_irq(unsigned int irq) +static void stmp378x_unmask_irq(struct irq_data *d) { /* IRQ enable */ stmp3xxx_setl(BM_ICOLL_INTERRUPTn_ENABLE, - REGS_ICOLL_BASE + HW_ICOLL_INTERRUPTn + irq * 0x10); + REGS_ICOLL_BASE + HW_ICOLL_INTERRUPTn + d->irq * 0x10); } static struct irq_chip stmp378x_chip = { - .ack = stmp378x_ack_irq, - .mask = stmp378x_mask_irq, - .unmask = stmp378x_unmask_irq, + .irq_ack = stmp378x_ack_irq, + .irq_mask = stmp378x_mask_irq, + .irq_unmask = stmp378x_unmask_irq, }; void __init stmp378x_init_irq(void)