Browse Source

[media] pd-alsa: fix compilation breakage by commit da35de640

commit da35de640 broke compilation, as it reverted the name of the
usb card free function.

Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab 12 years ago
parent
commit
fac44ee564
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/usb/tlg2300/pd-alsa.c

+ 1 - 1
drivers/media/usb/tlg2300/pd-alsa.c

@@ -306,7 +306,7 @@ int poseidon_audio_init(struct poseidon *p)
 
 	ret = snd_pcm_new(card, "poseidon audio", 0, 0, 1, &pcm);
 	if (ret < 0) {
-		snd_free_card(card);
+		snd_card_free(card);
 		return ret;
 	}
 	snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_capture_ops);