summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/intel-lpss.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-10-14 09:47:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-10-14 09:47:38 -0700
commit9e07f98ab76fdeab5629f2f6c977f870a414f1f9 (patch)
treef91b909d507fd71c238ad7bd625665420cebb5ee /drivers/mfd/intel-lpss.h
parent5b5f1455272e23f4e7889cec37228802d8d01adf (diff)
parent1b52e50f2a402a266f1ba2281f0a57e87637a047 (diff)
downloadlinux-9e07f98ab76fdeab5629f2f6c977f870a414f1f9.tar.gz
linux-9e07f98ab76fdeab5629f2f6c977f870a414f1f9.tar.bz2
linux-9e07f98ab76fdeab5629f2f6c977f870a414f1f9.zip
Merge tag 'mfd-fixes-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
Pull MFD fixes from Lee Jones: "Bug Fixes: - Return correct error code i.e. not zero - Fix build error when !CONFIG_PM_SLEEP" * tag 'mfd-fixes-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: mfd: max77843: Fix max77843_chg_init() return on error mfd: intel-lpss: Fix build error when !CONFIG_PM_SLEEP
Diffstat (limited to 'drivers/mfd/intel-lpss.h')
-rw-r--r--drivers/mfd/intel-lpss.h2
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);
.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 \