From: Harald Judt Date: Mon, 29 Jul 2013 15:00:27 +0000 (+0200) Subject: hwmon: (nct6775) Fix hibernate support X-Git-Tag: next-20130802~76^2~11 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4a429d29d08d3ddcc59401c0a328cf83369d4cb1;p=karo-tx-linux.git hwmon: (nct6775) Fix hibernate support hibernate callback functions are different to suspend/resume. Signed-off-by: Harald Judt Signed-off-by: Guenter Roeck --- diff --git a/drivers/hwmon/nct6775.c b/drivers/hwmon/nct6775.c index 99cec1825420..b66bc748bd70 100644 --- a/drivers/hwmon/nct6775.c +++ b/drivers/hwmon/nct6775.c @@ -4056,6 +4056,8 @@ static int nct6775_resume(struct device *dev) static const struct dev_pm_ops nct6775_dev_pm_ops = { .suspend = nct6775_suspend, .resume = nct6775_resume, + .freeze = nct6775_suspend, + .restore = nct6775_resume }; #define NCT6775_DEV_PM_OPS (&nct6775_dev_pm_ops)