diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-03-31 06:16:31 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-03-31 06:16:31 -0400 |
commit | 9ddd84f872898373c51469f9c931d5aa89fdc807 (patch) | |
tree | d81f9e396801f04d55924c0d3bbd903fe60ebcda /sound/firewire/scs1x.c | |
parent | 749d32237bf39e6576dd95bfdf24e4378e51716c (diff) | |
parent | a4b7f21d7b42b33609df3f86992a8deff80abfaf (diff) |
Merge branch 'for-next' into for-linus
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; |