diff options
Diffstat (limited to 'drivers/char/stallion.c')
-rw-r--r-- | drivers/char/stallion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/stallion.c b/drivers/char/stallion.c index f15df0e423e0..ed7b8eaf0367 100644 --- a/drivers/char/stallion.c +++ b/drivers/char/stallion.c | |||
@@ -2302,7 +2302,7 @@ static inline int stl_initeio(stlbrd_t *brdp) | |||
2302 | brdp->nrpanels = 1; | 2302 | brdp->nrpanels = 1; |
2303 | brdp->state |= BRD_FOUND; | 2303 | brdp->state |= BRD_FOUND; |
2304 | brdp->hwid = status; | 2304 | brdp->hwid = status; |
2305 | if (request_irq(brdp->irq, stl_intr, SA_SHIRQ, name, brdp) != 0) { | 2305 | if (request_irq(brdp->irq, stl_intr, IRQF_SHARED, name, brdp) != 0) { |
2306 | printk("STALLION: failed to register interrupt " | 2306 | printk("STALLION: failed to register interrupt " |
2307 | "routine for %s irq=%d\n", name, brdp->irq); | 2307 | "routine for %s irq=%d\n", name, brdp->irq); |
2308 | rc = -ENODEV; | 2308 | rc = -ENODEV; |
@@ -2512,7 +2512,7 @@ static inline int stl_initech(stlbrd_t *brdp) | |||
2512 | outb((brdp->ioctrlval | ECH_BRDDISABLE), brdp->ioctrl); | 2512 | outb((brdp->ioctrlval | ECH_BRDDISABLE), brdp->ioctrl); |
2513 | 2513 | ||
2514 | brdp->state |= BRD_FOUND; | 2514 | brdp->state |= BRD_FOUND; |
2515 | if (request_irq(brdp->irq, stl_intr, SA_SHIRQ, name, brdp) != 0) { | 2515 | if (request_irq(brdp->irq, stl_intr, IRQF_SHARED, name, brdp) != 0) { |
2516 | printk("STALLION: failed to register interrupt " | 2516 | printk("STALLION: failed to register interrupt " |
2517 | "routine for %s irq=%d\n", name, brdp->irq); | 2517 | "routine for %s irq=%d\n", name, brdp->irq); |
2518 | i = -ENODEV; | 2518 | i = -ENODEV; |