diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-12-13 01:54:12 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-13 21:42:45 +0100 |
commit | 88221c32f98551727cd4b8137fcc857a5294b97f (patch) | |
tree | 717c885abf6bc3e89466b681430856c2e80ba01a /usr | |
parent | Merge tag 'please-pull-morepstore' of git://git.kernel.org/pub/scm/linux/kern... (diff) | |
download | linux-88221c32f98551727cd4b8137fcc857a5294b97f.tar.xz linux-88221c32f98551727cd4b8137fcc857a5294b97f.zip |
rtc: snvs: fix build with CONFIG_PM_SLEEP disabled
Commit 7654e9d4fd8f ("drivers/rtc/rtc-snvs: fix suspend/resume")
replaces SIMPLE_DEV_PM_OPS with direct declaration of snvs_rtc_pm_ops,
but does so outside #ifdef CONFIG_PM_SLEEP. This causes the driver
build to fail if CONFIG_PM_SLEEP is not configured.
Fixes: 7654e9d4fd8f ("drivers/rtc/rtc-snvs: fix suspend/resume")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: Sanchayan Maity <maitysanchayan@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions