From: Grygorii Strashko Date: Fri, 27 Feb 2015 11:19:44 +0000 (+0200) Subject: net: davinci_mdio: add hibernation callbacks X-Git-Tag: omap-for-v4.1/wl12xx-dt~68^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f5c54ce0d11a527de3544e1b2c904544a2c1dd7;p=pandora-kernel.git net: davinci_mdio: add hibernation callbacks Setting a dev_pm_ops suspend_late/resume_early pair but not a set of hibernation functions means those pm functions will not be called upon hibernation. Fix this by using SET_LATE_SYSTEM_SLEEP_PM_OPS, which appropriately assigns the suspend and hibernation handlers and move davinci_mdio_x callbacks under CONFIG_PM_SLEEP to avoid build warnings. Signed-off-by: Grygorii Strashko Signed-off-by: David S. Miller --- Reading git-diff-tree failed