mfd: intel-lpss: Fix build error when !CONFIG_PM_SLEEP
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 14 Sep 2015 08:32:47 +0000 (11:32 +0300)
committerLee Jones <lee.jones@linaro.org>
Thu, 1 Oct 2015 15:31:33 +0000 (16:31 +0100)
commit47b91923ea41288751e83a5b080576085a831333
tree9d67c5c2d9271c960a61486973a0e178e3bc57f2
parent1f93e4a96c9109378204c147b3eec0d0e8100fde
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>
drivers/mfd/intel-lpss.h