diff options
author | Harald Judt <h.judt@gmx.at> | 2013-07-30 19:50:16 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-08-11 22:10:39 -0700 |
commit | 374d1f98353983f90aca3cecc6882e45755a0838 (patch) | |
tree | 11274273618360acb7920ef6e7faa458c114b969 /drivers/hwmon | |
parent | a8b3a3a53f9a814e9938ea9cc179086ff5c0a387 (diff) | |
download | linux-374d1f98353983f90aca3cecc6882e45755a0838.tar.bz2 |
hwmon: (nct6775) Add support for hibernate
Hibernation uses its own set of callback functions, even if the code
is the same as the code used for suspend/restore.
Signed-off-by: Harald Judt <h.judt@gmx.at>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/nct6775.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hwmon/nct6775.c b/drivers/hwmon/nct6775.c index a0ace075e918..6eb03ce2cff4 100644 --- a/drivers/hwmon/nct6775.c +++ b/drivers/hwmon/nct6775.c @@ -3997,6 +3997,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) |