|
@@ -196,6 +196,7 @@ static int xo15_sci_remove(struct acpi_device *device)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PM_SLEEP
|
|
static int xo15_sci_resume(struct device *dev)
|
|
static int xo15_sci_resume(struct device *dev)
|
|
{
|
|
{
|
|
/* Enable all EC events */
|
|
/* Enable all EC events */
|
|
@@ -207,6 +208,7 @@ static int xo15_sci_resume(struct device *dev)
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
static SIMPLE_DEV_PM_OPS(xo15_sci_pm, NULL, xo15_sci_resume);
|
|
static SIMPLE_DEV_PM_OPS(xo15_sci_pm, NULL, xo15_sci_resume);
|
|
|
|
|