[media] cx88: use correct pci drvdata type in cx88_audio_finidev()
We had set the pci drvdata in cx88_audio_initdev() as a type of struct snd_card, so cx88_audio_finidev() should used it as the same type too. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
a49de26a0e
commit
cd86e3b535
|
@ -931,9 +931,9 @@ error:
|
|||
*/
|
||||
static void cx88_audio_finidev(struct pci_dev *pci)
|
||||
{
|
||||
struct cx88_audio_dev *card = pci_get_drvdata(pci);
|
||||
struct snd_card *card = pci_get_drvdata(pci);
|
||||
|
||||
snd_card_free((void *)card);
|
||||
snd_card_free(card);
|
||||
|
||||
devno--;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue