diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2006-07-01 22:29:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-02 16:58:54 -0400 |
commit | 65ca68b30073473583f6ca2f463cbd94ade43ddb (patch) | |
tree | f7d4384450fbdfcb2661a74f3c2f28e53721eeb0 /sound/oss/via82cxxx_audio.c | |
parent | 63a43399db67d6f94364f933f68f38f58387737a (diff) |
[PATCH] irq-flags: sound: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Jaroslav Kysela <perex@suse.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/oss/via82cxxx_audio.c')
-rw-r--r-- | sound/oss/via82cxxx_audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/oss/via82cxxx_audio.c b/sound/oss/via82cxxx_audio.c index 3ada26b3fc7e..08d8c94d01b2 100644 --- a/sound/oss/via82cxxx_audio.c +++ b/sound/oss/via82cxxx_audio.c | |||
@@ -2013,7 +2013,7 @@ static int via_interrupt_init (struct via_info *card) | |||
2013 | tmp8 |= VIA_CR48_FM_TRAP_TO_NMI; | 2013 | tmp8 |= VIA_CR48_FM_TRAP_TO_NMI; |
2014 | pci_write_config_byte (card->pdev, VIA_FM_NMI_CTRL, tmp8); | 2014 | pci_write_config_byte (card->pdev, VIA_FM_NMI_CTRL, tmp8); |
2015 | } | 2015 | } |
2016 | if (request_irq (card->pdev->irq, via_interrupt, SA_SHIRQ, VIA_MODULE_NAME, card)) { | 2016 | if (request_irq (card->pdev->irq, via_interrupt, IRQF_SHARED, VIA_MODULE_NAME, card)) { |
2017 | printk (KERN_ERR PFX "unable to obtain IRQ %d, aborting\n", | 2017 | printk (KERN_ERR PFX "unable to obtain IRQ %d, aborting\n", |
2018 | card->pdev->irq); | 2018 | card->pdev->irq); |
2019 | DPRINTK ("EXIT, returning -EBUSY\n"); | 2019 | DPRINTK ("EXIT, returning -EBUSY\n"); |
@@ -2022,7 +2022,7 @@ static int via_interrupt_init (struct via_info *card) | |||
2022 | } | 2022 | } |
2023 | else | 2023 | else |
2024 | { | 2024 | { |
2025 | if (request_irq (card->pdev->irq, via_new_interrupt, SA_SHIRQ, VIA_MODULE_NAME, card)) { | 2025 | if (request_irq (card->pdev->irq, via_new_interrupt, IRQF_SHARED, VIA_MODULE_NAME, card)) { |
2026 | printk (KERN_ERR PFX "unable to obtain IRQ %d, aborting\n", | 2026 | printk (KERN_ERR PFX "unable to obtain IRQ %d, aborting\n", |
2027 | card->pdev->irq); | 2027 | card->pdev->irq); |
2028 | DPRINTK ("EXIT, returning -EBUSY\n"); | 2028 | DPRINTK ("EXIT, returning -EBUSY\n"); |