diff options
Diffstat (limited to 'sound/isa/sc6000.c')
| -rw-r--r-- | sound/isa/sc6000.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/isa/sc6000.c b/sound/isa/sc6000.c index da3d152bcad4..ca35924dc3b3 100644 --- a/sound/isa/sc6000.c +++ b/sound/isa/sc6000.c | |||
| @@ -29,7 +29,7 @@ | |||
| 29 | #include <linux/io.h> | 29 | #include <linux/io.h> |
| 30 | #include <asm/dma.h> | 30 | #include <asm/dma.h> |
| 31 | #include <sound/core.h> | 31 | #include <sound/core.h> |
| 32 | #include <sound/ad1848.h> | 32 | #include <sound/wss.h> |
| 33 | #include <sound/opl3.h> | 33 | #include <sound/opl3.h> |
| 34 | #include <sound/mpu401.h> | 34 | #include <sound/mpu401.h> |
| 35 | #include <sound/control.h> | 35 | #include <sound/control.h> |
| @@ -397,7 +397,7 @@ static int __devinit sc6000_init_board(char __iomem *vport, int irq, int dma, | |||
| 397 | return 0; | 397 | return 0; |
| 398 | } | 398 | } |
| 399 | 399 | ||
| 400 | static int __devinit snd_sc6000_mixer(struct snd_ad1848 *chip) | 400 | static int __devinit snd_sc6000_mixer(struct snd_wss *chip) |
| 401 | { | 401 | { |
| 402 | struct snd_card *card = chip->card; | 402 | struct snd_card *card = chip->card; |
| 403 | struct snd_ctl_elem_id id1, id2; | 403 | struct snd_ctl_elem_id id1, id2; |
| @@ -483,7 +483,7 @@ static int __devinit snd_sc6000_probe(struct device *devptr, unsigned int dev) | |||
| 483 | int xirq = irq[dev]; | 483 | int xirq = irq[dev]; |
| 484 | int xdma = dma[dev]; | 484 | int xdma = dma[dev]; |
| 485 | struct snd_card *card; | 485 | struct snd_card *card; |
| 486 | struct snd_ad1848 *chip; | 486 | struct snd_wss *chip; |
| 487 | struct snd_opl3 *opl3; | 487 | struct snd_opl3 *opl3; |
| 488 | char __iomem *vport; | 488 | char __iomem *vport; |
| 489 | char __iomem *vmss_port; | 489 | char __iomem *vmss_port; |
| @@ -548,21 +548,21 @@ static int __devinit snd_sc6000_probe(struct device *devptr, unsigned int dev) | |||
| 548 | if (err < 0) | 548 | if (err < 0) |
| 549 | goto err_unmap2; | 549 | goto err_unmap2; |
| 550 | 550 | ||
| 551 | err = snd_ad1848_create(card, mss_port[dev] + 4, xirq, xdma, | 551 | err = snd_wss_create(card, mss_port[dev] + 4, -1, xirq, xdma, -1, |
| 552 | AD1848_HW_DETECT, &chip); | 552 | WSS_HW_DETECT, 0, &chip); |
| 553 | if (err < 0) | 553 | if (err < 0) |
| 554 | goto err_unmap2; | 554 | goto err_unmap2; |
| 555 | card->private_data = chip; | 555 | card->private_data = chip; |
| 556 | 556 | ||
| 557 | err = snd_ad1848_pcm(chip, 0, NULL); | 557 | err = snd_wss_pcm(chip, 0, NULL); |
| 558 | if (err < 0) { | 558 | if (err < 0) { |
| 559 | snd_printk(KERN_ERR PFX | 559 | snd_printk(KERN_ERR PFX |
| 560 | "error creating new ad1848 PCM device\n"); | 560 | "error creating new WSS PCM device\n"); |
| 561 | goto err_unmap2; | 561 | goto err_unmap2; |
| 562 | } | 562 | } |
| 563 | err = snd_ad1848_mixer(chip); | 563 | err = snd_wss_mixer(chip); |
| 564 | if (err < 0) { | 564 | if (err < 0) { |
| 565 | snd_printk(KERN_ERR PFX "error creating new ad1848 mixer\n"); | 565 | snd_printk(KERN_ERR PFX "error creating new WSS mixer\n"); |
| 566 | goto err_unmap2; | 566 | goto err_unmap2; |
| 567 | } | 567 | } |
| 568 | err = snd_sc6000_mixer(chip); | 568 | err = snd_sc6000_mixer(chip); |
