ideapad_laptop: introduce #ifdef CONFIG_PM_SLEEP for PM specific code
authorZhang Rui <rui.zhang@intel.com>
Wed, 25 Sep 2013 12:39:46 +0000 (20:39 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 25 Sep 2013 17:40:12 +0000 (19:40 +0200)
commit11fa8da5fb14b23ff796c09d61a162a27deeb04f
tree27b62208004a18c6ae879b2589224c038058fdcb
parentcc8ef52707341e67a12067d6ead991d56ea017ca
ideapad_laptop: introduce #ifdef CONFIG_PM_SLEEP for PM specific code

ideapad_acpi_resume() and ideapad_pm is meaningful
only if CONFIG_PM_SLEEP is set.
Thus introduce #ifdef for this piece of code.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
CC: Matthew Garrett <matthew.garrett@nebula.com>
CC: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/platform/x86/ideapad-laptop.c