summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <martinez.javier@gmail.com>2010-12-29 05:11:27 +0100
committerJavier Martinez Canillas <martinez.javier@gmail.com>2010-12-29 05:11:27 +0100
commit6ad7ee1e8ca7af2c80eefdbd8974826270a34562 (patch)
tree3ecb5921739e277d791818c62b4d07d0c59d9f47
parentd8553cd26f566573e2d6441a61df2a284cedafe9 (diff)
downloadldd3-6ad7ee1e8ca7af2c80eefdbd8974826270a34562.tar.gz
short: Use the new IRQF_ constants
-rw-r--r--short/short.c8
1 files 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);