diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-09-14 04:32:47 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-01 11:31:33 -0400 |
commit | 47b91923ea41288751e83a5b080576085a831333 (patch) | |
tree | 9d67c5c2d9271c960a61486973a0e178e3bc57f2 /drivers/mfd/intel-lpss.h | |
parent | 1f93e4a96c9109378204c147b3eec0d0e8100fde (diff) |
mfd: intel-lpss: Fix build error when !CONFIG_PM_SLEEP
Jim Davis reported the compilation error with a random configuration which
apparently has CONFIG_PM=y and CONFIG_PM_SLEEP=n. With that conditions we have
missed definition of INTEL_LPSS_SLEEP_PM_OPS macro. Add it here.
Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/intel-lpss.h')
-rw-r--r-- | drivers/mfd/intel-lpss.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/intel-lpss.h b/drivers/mfd/intel-lpss.h index f28cb28a62f8..2c7f8d7c0595 100644 --- a/drivers/mfd/intel-lpss.h +++ b/drivers/mfd/intel-lpss.h | |||
@@ -42,6 +42,8 @@ int intel_lpss_resume(struct device *dev); | |||
42 | .thaw = intel_lpss_resume, \ | 42 | .thaw = intel_lpss_resume, \ |
43 | .poweroff = intel_lpss_suspend, \ | 43 | .poweroff = intel_lpss_suspend, \ |
44 | .restore = intel_lpss_resume, | 44 | .restore = intel_lpss_resume, |
45 | #else | ||
46 | #define INTEL_LPSS_SLEEP_PM_OPS | ||
45 | #endif | 47 | #endif |
46 | 48 | ||
47 | #define INTEL_LPSS_RUNTIME_PM_OPS \ | 49 | #define INTEL_LPSS_RUNTIME_PM_OPS \ |