summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/fujitsu-tablet.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/platform/x86/fujitsu-tablet.c')
-rw-r--r--drivers/platform/x86/fujitsu-tablet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/fujitsu-tablet.c b/drivers/platform/x86/fujitsu-tablet.c
index d2e4173..7acae3f 100644
--- a/drivers/platform/x86/fujitsu-tablet.c
+++ b/drivers/platform/x86/fujitsu-tablet.c
@@ -440,11 +440,13 @@ static int __devexit acpi_fujitsu_remove(struct acpi_device *adev, int type)
return 0;
}
+#ifdef CONFIG_PM_SLEEP
static int acpi_fujitsu_resume(struct device *dev)
{
fujitsu_reset();
return 0;
}
+#endif
static SIMPLE_DEV_PM_OPS(acpi_fujitsu_pm, NULL, acpi_fujitsu_resume);
OpenPOWER on IntegriCloud