summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/mach-rpc/ecard.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/mach-rpc/ecard.c')
-rw-r--r--kernel/arch/arm/mach-rpc/ecard.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/arch/arm/mach-rpc/ecard.c b/kernel/arch/arm/mach-rpc/ecard.c
index fcb1d59f7..dc67a7fb3 100644
--- a/kernel/arch/arm/mach-rpc/ecard.c
+++ b/kernel/arch/arm/mach-rpc/ecard.c
@@ -551,8 +551,7 @@ static void ecard_check_lockup(struct irq_desc *desc)
}
}
-static void
-ecard_irq_handler(unsigned int irq, struct irq_desc *desc)
+static void ecard_irq_handler(struct irq_desc *desc)
{
ecard_t *ec;
int called = 0;
@@ -946,7 +945,7 @@ static int __init ecard_probe(int slot, unsigned irq, card_type_t type)
irq_set_chip_and_handler(ec->irq, &ecard_chip,
handle_level_irq);
irq_set_chip_data(ec->irq, ec);
- set_irq_flags(ec->irq, IRQF_VALID);
+ irq_clear_status_flags(ec->irq, IRQ_NOREQUEST);
}
#ifdef CONFIG_ARCH_RPC