diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-06-29 16:49:24 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-07-18 19:58:48 -0400 |
commit | b14e033e17d0ea0ba12668d0d2f371cd31586994 (patch) | |
tree | f7b5df8e67c091363a967a4d1fb8a1209d61cf95 /include/linux/pnp.h | |
parent | 2430d12c94ff2bafcfe4f65edf7ee5f300d2d9c6 (diff) |
PNPACPI: Add support for remote wakeup
This patch (as1354) adds remote-wakeup support to the pnpacpi driver.
The new can_wakeup method also allows other PNP protocol drivers
(pnpbios or iaspnp) to add wakeup support, but I don't know enough
about how they work to actually do it.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reviewed-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'include/linux/pnp.h')
-rw-r--r-- | include/linux/pnp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pnp.h b/include/linux/pnp.h index 7c4193eb0072..1bc1338b817b 100644 --- a/include/linux/pnp.h +++ b/include/linux/pnp.h | |||
@@ -414,6 +414,7 @@ struct pnp_protocol { | |||
414 | int (*disable) (struct pnp_dev *dev); | 414 | int (*disable) (struct pnp_dev *dev); |
415 | 415 | ||
416 | /* protocol specific suspend/resume */ | 416 | /* protocol specific suspend/resume */ |
417 | bool (*can_wakeup) (struct pnp_dev *dev); | ||
417 | int (*suspend) (struct pnp_dev * dev, pm_message_t state); | 418 | int (*suspend) (struct pnp_dev * dev, pm_message_t state); |
418 | int (*resume) (struct pnp_dev * dev); | 419 | int (*resume) (struct pnp_dev * dev); |
419 | 420 | ||