drm: omapdrm: Pass drm_device to omap_gem_resume()

The omap_gem_resume() function is internal to the driver. Pass it a
drm_device pointer that the caller already has instead of looking it up
from device data.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
Laurent Pinchart
2017-10-13 17:58:58 +03:00
committed by Tomi Valkeinen
parent 7a228a0d7e
commit 7fb15c480e
3 changed files with 5 additions and 6 deletions

View File

@@ -97,7 +97,7 @@ void omap_gem_describe_objects(struct list_head *list, struct seq_file *m);
#endif
#ifdef CONFIG_PM
int omap_gem_resume(struct device *dev);
int omap_gem_resume(struct drm_device *dev);
#endif
int omap_irq_enable_vblank(struct drm_crtc *crtc);