diff options
author | Harald Judt <h.judt@gmx.at> | 2013-07-30 13:50:16 -0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-08-12 01:10:39 -0400 |
commit | 374d1f98353983f90aca3cecc6882e45755a0838 (patch) | |
tree | 11274273618360acb7920ef6e7faa458c114b969 /drivers/hwmon/nct6775.c | |
parent | a8b3a3a53f9a814e9938ea9cc179086ff5c0a387 (diff) |
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/nct6775.c')
-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) | |||
3997 | static const struct dev_pm_ops nct6775_dev_pm_ops = { | 3997 | static const struct dev_pm_ops nct6775_dev_pm_ops = { |
3998 | .suspend = nct6775_suspend, | 3998 | .suspend = nct6775_suspend, |
3999 | .resume = nct6775_resume, | 3999 | .resume = nct6775_resume, |
4000 | .freeze = nct6775_suspend, | ||
4001 | .restore = nct6775_resume, | ||
4000 | }; | 4002 | }; |
4001 | 4003 | ||
4002 | #define NCT6775_DEV_PM_OPS (&nct6775_dev_pm_ops) | 4004 | #define NCT6775_DEV_PM_OPS (&nct6775_dev_pm_ops) |