From: Grygorii Strashko Date: Wed, 25 Feb 2015 18:08:20 +0000 (+0200) Subject: drm/omap: tiler: add hibernation callback X-Git-Tag: omap-for-v4.2/o2_dc~72^2~15^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d601da27b052be84eb49854ddbc7c1046d6702d;p=pandora-kernel.git drm/omap: tiler: add hibernation callback Setting a dev_pm_ops resume callback but not a set of hibernation handler means that pm function will not be called upon hibernation. Fix this by using SIMPLE_DEV_PM_OPS, which appropriately assigns the suspend and hibernation handlers and move omap_dmm_resume under CONFIG_PM_SLEEP to avoid build warnings. Signed-off-by: Grygorii Strashko Reviewed-by: Rob Clark [tomi valkeinen: add missing 'static'] Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed