aboutsummaryrefslogtreecommitdiffstats
path: root/sound/sparc/cs4231.c
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/cs4231.c
parent9f2fa466383ce100b90fe52cb4489d7a26bf72a9 (diff)
parent29454dde27d8e340bb1987bad9aa504af7081eba (diff)
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Diffstat (limited to 'sound/sparc/cs4231.c')
-rw-r--r--sound/sparc/cs4231.c7
1 files changed, 3 insertions, 4 deletions
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) {