From 4f947da5a2946f897627acc43657f97c4f4bd9af Mon Sep 17 00:00:00 2001 From: David Howells Date: Tue, 8 Jul 2008 15:00:54 +0100 Subject: [PATCH] --- yaml --- r: 102286 b: refs/heads/master c: f7a1b86095bf7fd1578ef54067545b9cb7084713 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/acpi/acpi_bus.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 61bec8b263d5..068bea85073e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 337001b6c42938f49a880b1b8306c3ed771a7e61 +refs/heads/master: f7a1b86095bf7fd1578ef54067545b9cb7084713 diff --git a/trunk/include/acpi/acpi_bus.h b/trunk/include/acpi/acpi_bus.h index 7ab5a611e43f..a5ac0bc7f52e 100644 --- a/trunk/include/acpi/acpi_bus.h +++ b/trunk/include/acpi/acpi_bus.h @@ -388,6 +388,10 @@ static inline int acpi_pm_device_sleep_state(struct device *d, int *p) *p = ACPI_STATE_D0; return ACPI_STATE_D3; } +static inline int acpi_pm_device_sleep_wake(struct device *dev, bool enable) +{ + return -ENODEV; +} #endif /* !CONFIG_PM_SLEEP */ #endif /* CONFIG_ACPI */