diff options
Diffstat (limited to 'drivers/isdn/hardware/avm/b1pci.c')
-rw-r--r-- | drivers/isdn/hardware/avm/b1pci.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/isdn/hardware/avm/b1pci.c b/drivers/isdn/hardware/avm/b1pci.c index 5435a6cfb5e7..90e2e6643d19 100644 --- a/drivers/isdn/hardware/avm/b1pci.c +++ b/drivers/isdn/hardware/avm/b1pci.c | |||
@@ -9,7 +9,6 @@ | |||
9 | * | 9 | * |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/config.h> | ||
13 | #include <linux/module.h> | 12 | #include <linux/module.h> |
14 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
15 | #include <linux/skbuff.h> | 14 | #include <linux/skbuff.h> |
@@ -98,7 +97,7 @@ static int b1pci_probe(struct capicardparams *p, struct pci_dev *pdev) | |||
98 | b1_reset(card->port); | 97 | b1_reset(card->port); |
99 | b1_getrevision(card); | 98 | b1_getrevision(card); |
100 | 99 | ||
101 | retval = request_irq(card->irq, b1_interrupt, SA_SHIRQ, card->name, card); | 100 | retval = request_irq(card->irq, b1_interrupt, IRQF_SHARED, card->name, card); |
102 | if (retval) { | 101 | if (retval) { |
103 | printk(KERN_ERR "b1pci: unable to get IRQ %d.\n", card->irq); | 102 | printk(KERN_ERR "b1pci: unable to get IRQ %d.\n", card->irq); |
104 | retval = -EBUSY; | 103 | retval = -EBUSY; |
@@ -235,7 +234,7 @@ static int b1pciv4_probe(struct capicardparams *p, struct pci_dev *pdev) | |||
235 | b1dma_reset(card); | 234 | b1dma_reset(card); |
236 | b1_getrevision(card); | 235 | b1_getrevision(card); |
237 | 236 | ||
238 | retval = request_irq(card->irq, b1dma_interrupt, SA_SHIRQ, card->name, card); | 237 | retval = request_irq(card->irq, b1dma_interrupt, IRQF_SHARED, card->name, card); |
239 | if (retval) { | 238 | if (retval) { |
240 | printk(KERN_ERR "b1pci: unable to get IRQ %d.\n", | 239 | printk(KERN_ERR "b1pci: unable to get IRQ %d.\n", |
241 | card->irq); | 240 | card->irq); |