aboutsummaryrefslogtreecommitdiffstats
path: root/sound/sparc
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-07-03 13:49:45 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-07-03 13:49:45 -0400
commit026477c1141b67e98e3bd8bdedb7d4b88a3ecd09 (patch)
tree2624a44924c625c367f3cebf937853b9da2de282 /sound/sparc
parent9f2fa466383ce100b90fe52cb4489d7a26bf72a9 (diff)
parent29454dde27d8e340bb1987bad9aa504af7081eba (diff)
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Diffstat (limited to 'sound/sparc')
-rw-r--r--sound/sparc/amd7930.c2
-rw-r--r--sound/sparc/cs4231.c7
-rw-r--r--sound/sparc/dbri.c8
3 files changed, 8 insertions, 9 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c
index ba1b2a3443d3..db3e22efd02e 100644
--- a/sound/sparc/amd7930.c
+++ b/sound/sparc/amd7930.c
@@ -973,7 +973,7 @@ static int __init snd_amd7930_create(struct snd_card *card,
973 amd7930_idle(amd); 973 amd7930_idle(amd);
974 974
975 if (request_irq(irq, snd_amd7930_interrupt, 975 if (request_irq(irq, snd_amd7930_interrupt,
976 SA_INTERRUPT | SA_SHIRQ, "amd7930", amd)) { 976 IRQF_DISABLED | IRQF_SHARED, "amd7930", amd)) {
977 snd_printk("amd7930-%d: Unable to grab IRQ %d\n", 977 snd_printk("amd7930-%d: Unable to grab IRQ %d\n",
978 dev, irq); 978 dev, irq);
979 snd_amd7930_free(amd); 979 snd_amd7930_free(amd);
diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c
index da54d04a3e3a..5018fcf41df5 100644
--- a/sound/sparc/cs4231.c
+++ b/sound/sparc/cs4231.c
@@ -8,7 +8,6 @@
8 * Copyright (c) by Jaroslav Kysela <perex@suse.cz> 8 * Copyright (c) by Jaroslav Kysela <perex@suse.cz>
9 */ 9 */
10 10
11#include <linux/config.h>
12#include <linux/module.h> 11#include <linux/module.h>
13#include <linux/kernel.h> 12#include <linux/kernel.h>
14#include <linux/slab.h> 13#include <linux/slab.h>
@@ -2002,7 +2001,7 @@ static int __init snd_cs4231_sbus_create(struct snd_card *card,
2002 chip->c_dma.preallocate = sbus_dma_preallocate; 2001 chip->c_dma.preallocate = sbus_dma_preallocate;
2003 2002
2004 if (request_irq(sdev->irqs[0], snd_cs4231_sbus_interrupt, 2003 if (request_irq(sdev->irqs[0], snd_cs4231_sbus_interrupt,
2005 SA_SHIRQ, "cs4231", chip)) { 2004 IRQF_SHARED, "cs4231", chip)) {
2006 snd_printdd("cs4231-%d: Unable to grab SBUS IRQ %d\n", 2005 snd_printdd("cs4231-%d: Unable to grab SBUS IRQ %d\n",
2007 dev, sdev->irqs[0]); 2006 dev, sdev->irqs[0]);
2008 snd_cs4231_sbus_free(chip); 2007 snd_cs4231_sbus_free(chip);
@@ -2037,10 +2036,10 @@ static int __init cs4231_sbus_attach(struct sbus_dev *sdev)
2037 if (err) 2036 if (err)
2038 return err; 2037 return err;
2039 2038
2040 sprintf(card->longname, "%s at 0x%02lx:0x%08lx, irq %d", 2039 sprintf(card->longname, "%s at 0x%02lx:0x%016lx, irq %d",
2041 card->shortname, 2040 card->shortname,
2042 rp->flags & 0xffL, 2041 rp->flags & 0xffL,
2043 rp->start, 2042 (unsigned long long)rp->start,
2044 sdev->irqs[0]); 2043 sdev->irqs[0]);
2045 2044
2046 if ((err = snd_cs4231_sbus_create(card, sdev, dev, &cp)) < 0) { 2045 if ((err = snd_cs4231_sbus_create(card, sdev, dev, &cp)) < 0) {
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c
index 5eecdd09a79d..59a02a0d9afc 100644
--- a/sound/sparc/dbri.c
+++ b/sound/sparc/dbri.c
@@ -46,7 +46,7 @@
46 * 46 *
47 * I've tried to stick to the following function naming conventions: 47 * I've tried to stick to the following function naming conventions:
48 * snd_* ALSA stuff 48 * snd_* ALSA stuff
49 * cs4215_* CS4215 codec specfic stuff 49 * cs4215_* CS4215 codec specific stuff
50 * dbri_* DBRI high-level stuff 50 * dbri_* DBRI high-level stuff
51 * other DBRI low-level stuff 51 * other DBRI low-level stuff
52 */ 52 */
@@ -2569,7 +2569,7 @@ static int __init snd_dbri_create(struct snd_card *card,
2569 return -EIO; 2569 return -EIO;
2570 } 2570 }
2571 2571
2572 err = request_irq(dbri->irq, snd_dbri_interrupt, SA_SHIRQ, 2572 err = request_irq(dbri->irq, snd_dbri_interrupt, IRQF_SHARED,
2573 "DBRI audio", dbri); 2573 "DBRI audio", dbri);
2574 if (err) { 2574 if (err) {
2575 printk(KERN_ERR "DBRI: Can't get irq %d\n", dbri->irq); 2575 printk(KERN_ERR "DBRI: Can't get irq %d\n", dbri->irq);
@@ -2645,9 +2645,9 @@ static int __init dbri_attach(int prom_node, struct sbus_dev *sdev)
2645 strcpy(card->driver, "DBRI"); 2645 strcpy(card->driver, "DBRI");
2646 strcpy(card->shortname, "Sun DBRI"); 2646 strcpy(card->shortname, "Sun DBRI");
2647 rp = &sdev->resource[0]; 2647 rp = &sdev->resource[0];
2648 sprintf(card->longname, "%s at 0x%02lx:0x%08lx, irq %d", 2648 sprintf(card->longname, "%s at 0x%02lx:0x%016lx, irq %d",
2649 card->shortname, 2649 card->shortname,
2650 rp->flags & 0xffL, rp->start, irq.pri); 2650 rp->flags & 0xffL, (unsigned long long)rp->start, irq.pri);
2651 2651
2652 if ((err = snd_dbri_create(card, sdev, &irq, dev)) < 0) { 2652 if ((err = snd_dbri_create(card, sdev, &irq, dev)) < 0) {
2653 snd_card_free(card); 2653 snd_card_free(card);