diff options
Diffstat (limited to 'sound/firewire/scs1x.c')
-rw-r--r-- | sound/firewire/scs1x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/firewire/scs1x.c b/sound/firewire/scs1x.c index 858023cf4298..2dba848a781f 100644 --- a/sound/firewire/scs1x.c +++ b/sound/firewire/scs1x.c | |||
@@ -391,10 +391,10 @@ static int scs_probe(struct fw_unit *unit, const struct ieee1394_device_id *id) | |||
391 | struct scs *scs; | 391 | struct scs *scs; |
392 | int err; | 392 | int err; |
393 | 393 | ||
394 | err = snd_card_create(-16, NULL, THIS_MODULE, sizeof(*scs), &card); | 394 | err = snd_card_new(&unit->device, -16, NULL, THIS_MODULE, |
395 | sizeof(*scs), &card); | ||
395 | if (err < 0) | 396 | if (err < 0) |
396 | return err; | 397 | return err; |
397 | snd_card_set_dev(card, &unit->device); | ||
398 | 398 | ||
399 | scs = card->private_data; | 399 | scs = card->private_data; |
400 | scs->card = card; | 400 | scs->card = card; |