summaryrefslogtreecommitdiffstats
path: root/sound/mips/au1x00.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-01-29 14:34:47 +0100
committerTakashi Iwai <tiwai@suse.de>2014-02-14 08:14:05 +0100
commitbee1bb19cf97413494a5254de63d43d52d93d4f8 (patch)
tree43d8c7fed12b3dbcd2c247b0730fed8f366a2ee2 /sound/mips/au1x00.c
parent7d13211cf95586c35f8e7b7f77e3d8104d48f516 (diff)
downloadop-kernel-dev-bee1bb19cf97413494a5254de63d43d52d93d4f8.zip
op-kernel-dev-bee1bb19cf97413494a5254de63d43d52d93d4f8.tar.gz
ALSA: mips: Convert to snd_card_new() with a device pointer
Also remove superfluous snd_card_set_dev() calls. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/mips/au1x00.c')
-rw-r--r--sound/mips/au1x00.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mips/au1x00.c b/sound/mips/au1x00.c
index 526e59f..a7cc49e 100644
--- a/sound/mips/au1x00.c
+++ b/sound/mips/au1x00.c
@@ -601,8 +601,8 @@ static int au1000_ac97_probe(struct platform_device *pdev)
struct snd_ac97_bus *pbus;
struct snd_ac97_template ac97;
- err = snd_card_create(-1, "AC97", THIS_MODULE,
- sizeof(struct snd_au1000), &card);
+ err = snd_card_new(&pdev->dev, -1, "AC97", THIS_MODULE,
+ sizeof(struct snd_au1000), &card);
if (err < 0)
return err;
OpenPOWER on IntegriCloud