diff options
author | Grygorii Strashko <grygorii.strashko@linaro.org> | 2015-02-25 20:08:20 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-03-24 14:09:43 +0200 |
commit | 1d601da27b052be84eb49854ddbc7c1046d6702d (patch) | |
tree | 317af6efcc467941ced0e16559e78320a5633225 /lib/mpi/mpiutil.c | |
parent | 8450c8d071d858e8f95855a7b5897df3981e3d21 (diff) |
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 <grygorii.strashko@linaro.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
[tomi valkeinen: add missing 'static']
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions