예제 #1
0
static int snd_pmac_driver_resume(struct device *dev)
{
	struct snd_card *card = dev_get_drvdata(dev);
	snd_pmac_resume(card->private_data);
	return 0;
}
예제 #2
0
파일: powermac.c 프로젝트: 274914765/C
static int snd_pmac_driver_resume(struct platform_device *devptr)
{
    struct snd_card *card = platform_get_drvdata(devptr);
    snd_pmac_resume(card->private_data);
    return 0;
}