From: Russ Dill Date: Fri, 27 Feb 2015 11:24:34 +0000 (+0200) Subject: mmc: omap_hsmmc: add hibernation support X-Git-Tag: omap-for-v4.1/fixes-rc1~178^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d3bbfbdfd61201f8363360bc680590399d4d93b;p=pandora-kernel.git mmc: omap_hsmmc: add hibernation support Setting a dev_pm_ops suspend/resume pair but not a set of hibernation functions means those pm functions will not be called upon hibernation. Fix this by using SET_SYSTEM_SLEEP_PM_OPS, which appropriately assigns the suspend and hibernation handlers and move omap_hsmmc_x callbacks under CONFIG_PM_SLEEP to avoid build warnings. Signed-off-by: Russ Dill [Grygorii.Strashko@linaro.org: rebased on top of K4.0] Signed-off-by: Grygorii Strashko Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed