summaryrefslogtreecommitdiffstats
path: root/driver/aim-sound/sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/aim-sound/sound.c')
-rw-r--r--driver/aim-sound/sound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/aim-sound/sound.c b/driver/aim-sound/sound.c
index 9c64580..d4e87d0 100644
--- a/driver/aim-sound/sound.c
+++ b/driver/aim-sound/sound.c
@@ -599,8 +599,8 @@ static int audio_probe_channel(struct most_interface *iface, int channel_id,
return ret;
}
- ret = snd_card_new(NULL, -1, card_name, THIS_MODULE,
- sizeof(*channel), &card);
+ ret = snd_card_create(-1, card_name, THIS_MODULE, sizeof(*channel),
+ &card);
if (ret < 0)
return ret;