From 6ad7ee1e8ca7af2c80eefdbd8974826270a34562 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Wed, 29 Dec 2010 05:11:27 +0100 Subject: short: Use the new IRQF_ constants --- short/short.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/short/short.c b/short/short.c index 1d076a0..35fed56 100644 --- a/short/short.c +++ b/short/short.c @@ -510,7 +510,7 @@ void short_selfprobe(void) */ for (i = 0; trials[i]; i++) tried[i] = request_irq(trials[i], short_probing, - SA_INTERRUPT, "short probe", NULL); + IRQF_DISABLED, "short probe", NULL); do { short_irq = 0; /* none got, yet */ @@ -620,7 +620,7 @@ int short_init(void) */ if (short_irq >= 0 && share > 0) { result = request_irq(short_irq, short_sh_interrupt, - SA_SHIRQ | SA_INTERRUPT,"short", + IRQF_SHARED | IRQF_DISABLED,"short", short_sh_interrupt); if (result) { printk(KERN_INFO "short: can't get assigned irq %i\n", short_irq); @@ -634,7 +634,7 @@ int short_init(void) if (short_irq >= 0) { result = request_irq(short_irq, short_interrupt, - SA_INTERRUPT, "short", NULL); + IRQF_DISABLED, "short", NULL); if (result) { printk(KERN_INFO "short: can't get assigned irq %i\n", short_irq); @@ -654,7 +654,7 @@ int short_init(void) result = request_irq(short_irq, tasklet ? short_tl_interrupt : short_wq_interrupt, - SA_INTERRUPT,"short-bh", NULL); + IRQF_DISABLED,"short-bh", NULL); if (result) { printk(KERN_INFO "short-bh: can't get assigned irq %i\n", short_irq); -- cgit v1.2.1-18-gbd029