Pull bugzilla-7887 into release branch
[linux-drm-fsl-dcu.git] / include / acpi / acpi_drivers.h
index 07a5eb036e96a01967c1d5264b2c5cceffe24373..f6275b0e66dd34bbd5e3fde2be186eeda43ebba4 100644 (file)
@@ -136,4 +136,14 @@ static inline void unregister_hotplug_dock_device(acpi_handle handle)
 {
 }
 #endif
+
+/*--------------------------------------------------------------------------
+                                  Suspend/Resume
+  -------------------------------------------------------------------------- */
+#ifdef CONFIG_ACPI_SLEEP
+extern int acpi_sleep_init(void);
+#else
+#define acpi_sleep_init() do {} while (0)
+#endif
+
 #endif /*__ACPI_DRIVERS_H__*/