|
@@ -178,9 +178,10 @@ typedef struct pm_message {
|
|
|
* This need not mean that the device should be put into a low power state.
|
|
|
* For example, if the device is behind a link which is about to be turned
|
|
|
* off, the device may remain at full power. If the device does go to low
|
|
|
- * power and if device_may_wakeup(dev) is true, remote wake-up (i.e., a
|
|
|
- * hardware mechanism allowing the device to request a change of its power
|
|
|
- * state, such as PCI PME) should be enabled for it.
|
|
|
+ * power and is capable of generating run-time wake-up events, remote
|
|
|
+ * wake-up (i.e., a hardware mechanism allowing the device to request a
|
|
|
+ * change of its power state via a wake-up event, such as PCI PME) should
|
|
|
+ * be enabled for it.
|
|
|
*
|
|
|
* @runtime_resume: Put the device into the fully active state in response to a
|
|
|
* wake-up event generated by hardware or at the request of software. If
|
|
@@ -428,6 +429,7 @@ struct dev_pm_info {
|
|
|
unsigned int idle_notification:1;
|
|
|
unsigned int request_pending:1;
|
|
|
unsigned int deferred_resume:1;
|
|
|
+ unsigned int run_wake:1;
|
|
|
enum rpm_request request;
|
|
|
enum rpm_status runtime_status;
|
|
|
int runtime_error;
|