diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/intelfb/intelfbhw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/intelfb/intelfbhw.c b/drivers/video/intelfb/intelfbhw.c index a95836839e1e..c1eb18bf0883 100644 --- a/drivers/video/intelfb/intelfbhw.c +++ b/drivers/video/intelfb/intelfbhw.c | |||
@@ -1990,7 +1990,8 @@ int | |||
1990 | intelfbhw_enable_irq(struct intelfb_info *dinfo, int reenable) { | 1990 | intelfbhw_enable_irq(struct intelfb_info *dinfo, int reenable) { |
1991 | 1991 | ||
1992 | if (!test_and_set_bit(0, &dinfo->irq_flags)) { | 1992 | if (!test_and_set_bit(0, &dinfo->irq_flags)) { |
1993 | if (request_irq(dinfo->pdev->irq, intelfbhw_irq, SA_SHIRQ, "intelfb", dinfo)) { | 1993 | if (request_irq(dinfo->pdev->irq, intelfbhw_irq, IRQF_SHARED, |
1994 | "intelfb", dinfo)) { | ||
1994 | clear_bit(0, &dinfo->irq_flags); | 1995 | clear_bit(0, &dinfo->irq_flags); |
1995 | return -EINVAL; | 1996 | return -EINVAL; |
1996 | } | 1997 | } |