static int jpeg_pm_resume(struct device *pDevice) { struct platform_device *pdev = to_platform_device(pDevice); BUG_ON(pdev == NULL); return jpeg_resume(pdev); }
int jpeg_resume_pd(struct device *dev) { struct platform_device *pdev; int ret; pdev = to_platform_device(dev); ret = jpeg_resume(pdev); return 0; }