Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1237415
| From | Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/1] mfd: intel-lpss: fix build error when !CONFIG_PM_SLEEP |
| Date | 2015-10-01 15:10 +0200 |
| Message-ID | <qeLMv-53B-29@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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> --- drivers/mfd/intel-lpss.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/intel-lpss.h b/drivers/mfd/intel-lpss.h index f28cb28a..2c7f8d7 100644 --- a/drivers/mfd/intel-lpss.h +++ b/drivers/mfd/intel-lpss.h @@ -42,6 +42,8 @@ int intel_lpss_resume(struct device *dev); .thaw = intel_lpss_resume, \ .poweroff = intel_lpss_suspend, \ .restore = intel_lpss_resume, +#else +#define INTEL_LPSS_SLEEP_PM_OPS #endif #define INTEL_LPSS_RUNTIME_PM_OPS \ -- 2.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/1] mfd: intel-lpss: fix build error when !CONFIG_PM_SLEEP Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2015-10-01 15:10 +0200
Re: [PATCH 1/1] mfd: intel-lpss: fix build error when !CONFIG_PM_SLEEP Lee Jones <lee@kernel.org> - 2015-10-01 16:50 +0200
Re: [PATCH 1/1] mfd: intel-lpss: fix build error when !CONFIG_PM_SLEEP Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2015-10-02 14:30 +0200
Re: [PATCH 1/1] mfd: intel-lpss: fix build error when !CONFIG_PM_SLEEP Lee Jones <lee.jones@linaro.org> - 2015-10-05 10:30 +0200
Re: [PATCH 1/1] mfd: intel-lpss: fix build error when !CONFIG_PM_SLEEP Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2015-10-05 11:00 +0200
csiph-web