From: Mauro Carvalho Chehab Date: Sun, 23 Sep 2012 19:42:44 +0000 (-0300) Subject: [media] pd-alsa: fix compilation breakage by commit da35de640 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fac44ee564a54db020ad384e0de94b5d8be3c6b5;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/usb/tlg2300/pd-alsa.c b/drivers/media/usb/tlg2300/pd-alsa.c index 0c778695e2c3..3f3e141f70fb 100644 --- a/drivers/media/usb/tlg2300/pd-alsa.c +++ b/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);