===================================================================
@@ -825,3 +825,9 @@ void __suspend_report_result(const char
printk(KERN_ERR "%s(): %pF returns %d\n", function, fn, ret);
}
EXPORT_SYMBOL_GPL(__suspend_report_result);
+
+void device_receive_wakeup_event(struct device *dev)
+{
+ pr_debug("Device %s invokes wakeup event\n", dev_name(dev));
+}
+EXPORT_SYMBOL(device_receive_wakeup_event);
===================================================================
@@ -437,6 +437,8 @@ struct dev_pm_info {
/* Necessary, because several drivers use PM_EVENT_PRETHAW */
#define PM_EVENT_PRETHAW PM_EVENT_QUIESCE
+void device_receive_wakeup_event(struct device *dev);
+
/*
* One transition is triggered by resume(), after a suspend() call; the
* message is implicit: