Merge tag 'fbdev-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux
[linux-2.6-block.git] / drivers / acpi / sleep.h
index c797ffa568d513c6533b576072f9967ed49f6c42..a9cc34e663f9cf15d356c90d6f36f1d3a78435ed 100644 (file)
@@ -6,3 +6,9 @@ extern struct list_head acpi_wakeup_device_list;
 extern struct mutex acpi_device_lock;
 
 extern void acpi_resume_power_resources(void);
+
+static inline acpi_status acpi_set_waking_vector(u32 wakeup_address)
+{
+       return acpi_set_firmware_waking_vector(
+                               (acpi_physical_address)wakeup_address, 0);
+}